17yr trespassing

Ok so me and my 2 friends just wanted to hang out together but couldn't at my house so we walked by a new building by my house and it was new so we looked inside the windows and yeah we tested to see if it was open but we weren't even intending to break in or anything we just wanted to sit and chill and talk. And we didn't go in or anything so when we just sat down and talked some guy down the street was yelling at us and we got scared so we left and the cops even showed up, they didn't see us we went back to my house and now they know it was us and we're in trouble, we're just two 17 year old girls and a 15 year old boy we weren't trynna do anything bad but technically it is trespassing and I've never been in trouble before so idk what to say or even explain why I was there

Sorry if this was under the wrong topic it was the closest one I had to this