Quote:
Originally Posted by Mastonevich
We found somewhere in the documentation where u need to put it in the interrupted function and it worked for us.
|
Yeah.... was about to say that putting the cancel functions in interrupted and not end worked.
On a slightly related topic, can I wipe the commands currently linked to a button?
i can do
button.whilePressed();
but can i do
button.releaseCommands();
so that it no longer runs the commands issued by .whilePressed()