Skip to main content
1mo ago

Have a loop back to the first phase when clicking on the hitbox

Hey there

Working on a FUI file on rive (first file in rive) and I got 2 hitboxs. The 1 hitbox on the outer rings to the first phase and second hitbox is more in the center for phase 2.

I would like it to be were click the outer hitbox for phase 1 would start up again, but at the moment it restarts the loop animation for phase 2.

I'll leave the link for the community file down below.

https://rive.app/community/files/15710-29626-fui-snow-radar/

Thanks, Eoin

P.S. How to get clean edge, because the backplate image is moving around little bit and also snow flakes going on and off screen.

2 replies
k
k
1mo ago

Hi Eoin,

I reviewed your file, in the statemachine from Startup timeline instead of directly connecting the p1 and p2 timelines, use anystate and connect the p1 and p2 timeline with the conditions. This will allow you to switch between two timelines without confusion.

1mo ago

thank you