This feature or component is deprecated and you should not use it.

It is not available in the latest VRChat SDK, and is either non-functional, or will no longer receive updates. It will be removed at a later date.

Triggers and Actions have been replaced by VRChat Udon, a powerful, easy to use scripting system that enables creation of both simple behaviors and complex interactions in VRChat worlds.

OnAvatarHit is OnEnterCollider, but specifically used when you want to detect collisions between player and your object. This is needed due to OnCollider not working with avatar layer.


Ensure the collider component on the VRC_Trigger gameObject has Trigger collider set to false.