When you press the Q key, the light mesh rotates with a value of 30, and when you press the Q key again, the value becomes 0 and the rotation stops.
I would like to create a system that repeats this.
Not sure I’m 100% understanding what you’re trying to achieve? But are you simply trying to spin the light while the button is held?
That example spins the light while the button is held down at 30° per tick and then returns it to 0 when released. It’s not necessarily the best way to do it, I’m just trying to establish if that’s the behaviour you’re after?
1 Like

