Skip to content

On Player Trigger Exit ​

CommonOnPlayerTriggerExit

A player leaves this trigger collider.

Needs an area on this object (a collider with Is Trigger on); Add an area on the card adds one.

Like On Player Trigger Enter, it happens on every screen, with Who leaves the area picking Me, Others or Anyone. Often used to undo what entering the area turned on.

The area is a collider with Is Trigger on, checked against each player's capsule collider. VRChat's docs warn that the event can be skipped when a player teleports out or moves very fast. If something teleports players out of the area, the undo here may not run.

Official docs: Player Collisions (VRChat), Event Nodes (VRChat)

Event values

Values this event has; action settings can use them as targets or values.

NameType
That playerPlayer

On a card

WhenOn Player Trigger Exit⋯
What to do
+ Add what to do

In Udon

In UdonSharp, this is the method:

public override void OnPlayerTriggerExit(VRCPlayerApi player)

In the same category