I’ve been trying to get this program to work but I honestly don’t know what I’m doing. The idea is that this motor moves on its own until you hold A, but when you release button A, it starts up again. I’m not entirely sure if I’m going at this problem head-on or what though. Don’t worry about the comments, they mean nothing, I only used an example to know what I was doing.
here’s the file: https://drive.google.com/open?id=16S80bRAS_6lXsJvAnQVRZOm22Pgn0h4j