How to make it so pressing a button twice makes it stop and pressing it once makes it start in VEX Code V5 Blocks?

Do a search on the term Latch

https://www.vexforum.com/search?context=topic&context_id=106390&q=Latch&skip_context=true

Or here
https://www.vexforum.com/t/on-off-switchable-motor/101415/13

5 Likes