Framer Classic » Events » Basic use

Basic use

You’ve used onTap already, and it will continue to be an event you use often. It’s the most common use case: triggering something when a layer is being tapped.

redSquare.onTap ->
    redSquare.backgroundColor = "green"

When the user clicks or taps on redSquare, its background color will set to green.


Leave a Reply