how to make an action stop in construct 3 when pressing a button?
Develop games in your browser. Powerful, performant & highly capable.
What action?
You can't cancel a Wait. Use a Timer instead, which you can stop.
EDIT: you also want to make sure event 2 only runs once. Right now it's running repeatedly for 1/2 a second, until the visibility changes.