Decrease a virtual axis overtime #507
-
I'm trying to decrease the virtual X axis gently from a set point to 0. Not an instant 100 -> 0 but over a span of 600ms. |
Beta Was this translation helpful? Give feedback.
Answered by
WhiteMagic
Oct 26, 2023
Replies: 1 comment 1 reply
-
You can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Svennixx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
time.sleep()
, however, this needs to happen in a separate thread as you otherwise sleep the main thread. You could technically also utilize a repeating macro to get a similar effect though depending on the resolution you're after it might be a bit ugly.