Skip to main content
Version: 3.0.0

Object Actions

The Object group contains the following actions: Toggle Object, Toggle Component, Toggle All Components, Lock Object Movement, Set Generic Value, Set Material, Set Color and Texture, Call Method, Control Particle System, Object Reposition, Remove Object Reposition, Create Ghost, Toggle Ghost.


Toggle Object​

Toggle Object

The Toggle Object action enables or disables the target GameObject in a scene.

PropertyDescription
TargetTarget object to show or hide
ShowIf enabled, shows the object. It can be animated.

Toggle Component​

Toggle Component

The Toggle Component enables or disables the indicated component of the target object.

PropertyDescription
TargetTarget object
ComponentComponent to enable/disable
EnableIf enabled, activates the component

Toggle All Components​

Toggle All Components

With the Toggle All Components action, you can enable or disable a chosen component across all game objects that possess it. Objects of all the scenes are considered.

PropertyDescription
ComponentsSelect the component
EnableIf enabled, activates the component
Inactive ObjectsIf enabled, the inactive objects are considered as well
ViewView the affected objects inside the Hierarchy
Select AllSelect the affected objects inside the Hierarchy

Lock Object Movement​

Lock Object Movement

The Lock Object Movement locks the movement of the target object.

PropertyDescription
TargetThe object whose movement you want to block
Lock SpaceThe space in which the movement is blocked (Local or World)
Lock PositionLock translation on the selected axis
Lock RotationLock rotation on the selected axis

Set Generic Value​

Set Generic Value

The Set Generic Value action sets different attribute values of the target object. The values are property of the component of the target object.

PropertyDescription
TargetThe object whose property you want to change
PropertyThe property that you want to change
ValueDepends on the type of property that you choose

Set Material​

Set Material

The Set Material action sets the material of the target object.

PropertyDescription
TargetThe object whose material you want to change
MaterialThe material to be applied to the target object. It can be animated.

Set Color and Texture​

Set Color and Texture Set Color and Texture Action

The Set Color and Texture action sets the color, texture, or both target object.

PropertyDescription
TargetDefine the renderer for which to change the color, texture, or both
TextureIf enabled, you can change the texture of the target renderer
ColorIf enabled, you can change the color of the target object. It can be animated.
Keep AlphaIf enabled, it will keep the alpha property of the object
Apply ToIf you want to change the first renderer, the first level children or all the children
For MaterialIf your target has more than one material, you can choose how many of them will be changed

Call Method​

Call Method

The Call Method action expands the Set Generic Value actions by calling the methods of the Target component.

PropertyDescription
TargetDefine the target object
MethodThe method that you want to call

Control Particle System​

Control Particle System

The Control Particle System action allows you to control a particle system inside the scene.

PropertyDescription
TargetThe target particle system
ActionWhether you want to play, pause, stop your system
GradientIf enabled, you can set a color gradient for your system
To All ChildrenApplies the changes to all the children of the particle system

Object Reposition​

Object Reposition

This action allows you to reposition the target object.

PropertyDescription
Tool to RepositionThe Object to be repositioned
Reposition TransferThe Transform where the object should be repositioned
Area LimitsWhether to check if the object should be inside or outside an area
Interaction LimitsReposition the object if the object is grabbed or not
Time LimitsThe time to wait before the object is repositioned

Remove Object Reposition​

Remove Object Reposition

This action allows you to remove the object reposition system.

PropertyDescription
Remove OptionsRemove last or all controllers added in the scene

Create Ghost​

Create Ghost Ghost Example

This action allows you to create a ghost copy of the source object.

PropertyDescription
SourceThe source object to be copied
ColorColor of the ghost
MaterialIf enabled, change ghost material
TransformIf enabled, set the start transform of the ghost

Toggle Ghost​

Toggle Ghost

This action allows you to show or hide a ghost.

PropertyDescription
GhostThe ghost you want to show/hide (list of actions)
ShowShow/Hide ghost

Move Object​

Moves an object to a destination instantly (no animation).

Move Object Action

PropertyDescription
TargetThe object to move.
DestinationThe transform to move the object to.
RotateIf enabled, the object also takes the destination's rotation.
LocalIf enabled, position/rotation are applied in local space instead of world space.
Only ActiveIf enabled, the object is moved only if it is currently active.

Force Grab Object​

Grabs (or releases) a WEAVR Object programmatically, without user interaction — the object is attached to the active grabber as if the user had grabbed it.

Force Grab Object Action

PropertyDescription
TargetThe WEAVR Object to grab or release.
GrabIf enabled the object is grabbed; if disabled it is released.

Links a global variable to a reflected property of an object, so the variable and the property stay connected. It can also unlink them again.

Link Variable To Generic Value Action

PropertyDescription
Link TypeLink to create the link, Unlink to remove it.
VariableThe global variable to link.
Variable TypeThe value type of the variable (String, Bool, Float, Integer, Time, Color, Vector3, Object, …).
From TargetThe object that owns the property.
PropertyThe property of the target to link to the variable.

Advanced​

The advanced section contains some of the previous actions with more settings to customize.

Set Color and Texture Expert​

Set Color and Texture Expert

The Set Color and Texture Expert action allows you to customize the color and texture of the target object.

PropertyDescription
TargetDefine the renderer for which to change the color, texture, or both
TextureIf enabled, you can change the texture of the target renderer
OffsetIf enabled, applies the offset to the main texture of the target renderer. It can be animated.
ScaleIf enabled, applies the scale to the main texture of the target renderer. It can be animated.
ColorIf enabled, you can change the color of the target object. It can be animated.
Keep AlphaIf enabled, keeps the alpha property of the object
Apply ToIf you want to change the first renderer, the first level children or all the children
For MaterialIf your target has more than one material, you can choose how many of them will be changed