Skip to main content
B
2mo ago

Disable property key

An item can be disabled by setting the opacity to 0. However, the item will still participate in the click logic. In order to also disable clicks, you have to either set the scale to 0, or key the position to move it out of screen. This workflow is not intuitive, bug prone, and hard to maintain if changes are to be made.

A better way to solve this issue would be to make a keyable "enabled" property, which handles both the visibility and the click logic.

Join the discussion
Join Rive to reply J