Replies: 1 comment
-
|
I made an issue #7727 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I want to run a piece of code every tick a button is kept down. After some searching, i found
Button::is_pointer_button_down_on. This seems to be the right thing from what I can tell. However for some reason it is as if the "hold down" times out. After about 1 second or 48ticks the button is visibly released andHi!is no longer shown even though I am still holding down the button. If I move the mouse (still inside the button) while holding down the left mouse button, it is released immediately.Background
I am communicating with some hardware with some actuators. For some sort of safety I would prefer if the actuator only moved while the button is held down. So every tick the button is held down I send a "keep running" command. Once the button is release the hardware times out and stops the actuator.
Beta Was this translation helpful? Give feedback.
All reactions