Need help involving Raycast

So I want when a Ray it’s an object to change the animation of a different object

Screenshot 2026-11-06 134750

but it is not changing the animation AT ALL, someone please help me?

Are you sure the ray is actually hitting the object?

Yes, because it is executing other actions as well but not this one

Since the other actions in the same event are running, the ray itself is hitting as expected. I would double check the exact animation name and that it is set on the right object, and also check that another event is not resetting the animation in the same frame.

It is not a roblem with the animation name and it is set on the right object and the animation is single frame

After using that animation is it set to a different animation? If the animation ends, it will still be set to that animation until changed, and if you then tell it to do the same animation it won’t do it.

Basically, if your crosshair is over the beetle it will set the animation the first time right? But then if it is not set back, then it will already be on the over animation but completed and it will not run over animation again.

Can you tell me if it being set to a different animation in-between being triggered multiple times?

A useful way to separate the two possibilities: add a temporary scene-variable or text change in the same ray-hit event and confirm it updates. If it does, the branch is firing, so check that the Change animation action targets the exact scene object instance you want to affect (not only the object used by the ray condition). For a visual test, switch between two clearly different animations/states, and switch back when the ray no longer hits; if the event runs every frame, avoid repeatedly setting the same already-active animation if you expect it to restart.

does your event has parent events? make sure that the object picking is correct. you can even log it into console

Screenshot_2026-11-07_14-47-49

I think the problem has been solved. Thanks Guys!!!