Component:TouchableData
From Resonite Wiki
More actions
(Redirected from TouchableData (Component))
Component image 
Touchable Data component as seen in the Scene Inspector

The TouchableData component can be used to create simple touch based interactions.
Fields
| Name | Type | Description |
|---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Hovering
|
Bool | Whether a user's laser is hovering over the component's collider |
Touching
|
Bool | Whether a user is clicking on the collider this component is on. |
AcceptOutOfSightTouch
|
Bool | Whether or not to allow interaction with this component if it is out of the user's view. |
AcceptPhysicalTouch
|
Bool | Whether to allow Component:TipTouchSources to interact with/activate this component. |
AcceptRemoteTouch
|
Bool | Whether this component allows interaction via the user's interaction laser. |
OnHoverStartVibrate
|
VibratePreset | How to vibrate the user's controller when they started hovering on the component. |
OnHoverStayVibrate
|
VibratePreset | How to vibrate the user's controller every game update when they are hovering on the component. |
OnHoverEndVibrate
|
VibratePreset | How to vibrate the user's controller when they stopped hovering on the component. |
OnTouchStartVibrate
|
VibratePreset | How to vibrate the user's controller when they started primary pressing on the component. |
OnTouchStayVibrate
|
VibratePreset | How to vibrate the user's controller every game update when they hold primary press on the component. |
OnTouchEndVibrate
|
VibratePreset | How to vibrate the user's controller when they ended primary pressing on the component. |
EditModeOnly
|
Bool | Whether this component can only be interacted with by users in edit mode. |
ActiveUserFilter
|
ActiveUserHandling | How to handle which users can use this component based on the current active user. |
Usage
This article or section is a stub. You can help the Resonite wiki by expanding it.