Skip to main content
M
13d ago

Animate from click point of origin

I would like to create an interface that allows me to click anywhere on a page and based on the location I click, a comment box would animate.

How can I ensure the comment box animates from the location of the click?

1 reply
13d ago

Hi Marius. You should be able to achieve this with Listeners and Listener Actions: https://rive.app/community/doc/listeners/doceaiA9rRW1

I've attached a quick example where I have a hit area that aligns the nested artboard to the click position and fires a trigger to start the tooltip animation.

tooltip.rev
1 KB