Hey!
So just Curious I have “ctrl + z” and “ctrl + y” and undo and redo on a lil art app im makin for learning and was wondering how I could make it let me hold ctrl + z or y to spam undo instead of having to mash the keys?
You could see if echos appear in the _input(event). But you could also just set a state when the keys are pressed and perform the action with a rate timer.
You can set allow_echo
to true
on the InputEvent.is_action_pressed() method, should give you the desired outcome.