Skip to main content
Up and Coming
April 30, 2025
Question

Sit Down, Ride Away and Die.

I'm going through the tutorials and in the web mobile one I see this Death script that triggers when you hit a target. It makes me wonder what other animations I can call for my avatar. I know I've seen others implement this in various ways, I'm wondering where the documentation is.  I'd love to control the avatar to sit down and go for a ride. 

I'm seeing this line in the code of the tutorial

player.playAvatarGripPoseAnimationByName('Die');
but then going through the various documentation and tutorials, I can't find details about it. 
I noticed a 'Respawn' call works too. 


3 replies

BenSH
Community Manager
April 30, 2025

You can find the available avatar animations in the Creator Manual - https://developers.meta.com/horizon-worlds/learn/documentation/mhcp-program/community-tutorials/creator-manual#scripted-grip-pose-animation

 

You can use the Seat Gizmo to have a player sit down, however the seat Gizmo does not work for avatar NPCs at this time.

Community Events Calendar Sign up for this Month's MHCP Bonuses
DrewlsAuthor
Up and Coming
April 30, 2025

Ben.SH I've read through that several times and can't find any thing about animating 'die', 'respawn' or what that actually does. 
Can you share with me the keywords I can use to search the documents or share a screen shot of what I should be looking for? 

I'm also wondering if I can force a player to sit down on the seat Gizmo. 


BenSH
Community Manager
April 30, 2025

No worries, here is that section screenshoted:

No, there is not a way to force a player to use the seat gizmo.

 

Community Events Calendar Sign up for this Month's MHCP Bonuses