I’m trying to make a game where you drag a object along a few lines, and how can I make it so that I can only drag the object along the line and not anywhere on the screen?
Hi @gnajom3 , welcome to the our forum! Try turn on the physics for the object, turn off the gravity and block the Y axis
If you want the object to move along the horizontal axis, then turn on the physics, disable the gravity, and lock the Y-Position.
If you want the object to move along the vertical axis, then turn on the physics, disable the gravity, and lock the X-Position
Here’s a related idea: a sprite that follows a looping path created with Move Recorder.
@Suzzy-Grey also posted a game idea involving multiple colored paths for little cars to follow, but I wasn’t able to find that post. If I find it later I’ll update.