- Home /
How to make a moveable lever? (2D)
I am trying to make a lever in Unity 2D. I thought of using OnMouseDrag, but I can't seem to figure out how to do it. My intention is for the player to drag the lever up or down. Any help would be appreciated!
Comment
Your answer
Follow this Question
Related Questions
Dragging object with Mouse causes it to fly away 0 Answers
Use Rigidbody2D's Drag to slow down flying character 1 Answer
OnMouseDrag, object getting dragged goes through collider instead of stopping 0 Answers
Starting drag onMouseEnter 0 Answers
Unity + Vuforia Drag and drop not working properly 0 Answers