Camera coordinates vs world space coordinates?

I’m looking to make sprites behave a certain way the closer they get to the camera’s edge. It seems like the simplest way to do it would be to determine their ‘on-screen’ coordinates, which would change if the camera moved, but all I can find is coordinate stuff relating to the whole world, not related to the camera. Any advice? :slight_smile:

Related to the cameras, there’s CameraX() and CameraY(). You’ll find them in the Expressions blue button.

1 Like

Thanks, I think that’s what I need!