Question about camera/player. (solved)

How do I make it to where the player cant go outside the camera without putting a block there. My question kind of only makes sense when you understand what kind of game im making so here is my game:

Go into the border object and do: “Once” into “Alpha.” The block will still be there but you won’t be able to see it.

That didn’t work. Sorry.

Are you sure you put once into alpha in the Border Object, because it worked for me.

Yes… okay so the camera moves automatically and I dont want the player to move out of that box. I tried doing what you suggested but once the character started moving I hit the invisible blocks.

Ok, so are you talking about the sides or the top?

The top. (11 more letters)

And technically the bottom too.

What I would do is set up a system where if the player’s Y position crosses the Y position at the top or bottom of the screen, the player’s position is set to the max or min value. I can make an example later if needed.