Skip to main content

Utility

info

These docs were last updated for ValenCommons 2.10.0.

Invoke​

Calls each configured target-method pair when the local user interacts with the object. Can be used to trigger functions using VRChats Interaction rather than Unitys UI Events.

Invoke Script Example

Trigger Invoke​

Calls each configured target-method pair when the local player enters the trigger collider.

Open Group Button​

Opens the VRChat group page identified by Group Identifier. Use the grp_... value from the group's URL. _OpenGroupPage() can also be connected to a UI button.

Gesture Invoke​

Performs an action after a configured keyboard or joystick gesture.

GroupOptions
GestureKey press, or repeated/timed up or down movement on either joystick.
ActionToggle an object, teleport an object, or teleport the local user.
Target positionIn front of the user, either hand, or a custom point.

Times, Grace Period, and Stick Threshold control gesture completion. A progress slider is optional.

Collider Activator​

Enables its configured colliders while the component's GameObject is active and disables them with it.

Fall Recover​

Records the local user's last grounded position. Call ReturnToLastPosition() to return there.