m YoshBot moved page ProtoFlux:Touchable Events to ProtoFlux:TouchableEvents: Automated: removing spaces from ProtoFlux namespace |
Link back to buttonevents |
||
| Line 55: | Line 55: | ||
=== EventSource ([[Component:TouchEventRelay|TouchEventRelay]]) === | === EventSource ([[Component:TouchEventRelay|TouchEventRelay]]) === | ||
The TouchEventRelay component to read events from. | The TouchEventRelay component to read events from. | ||
== See also == | |||
[[ProtoFlux:ButtonEvents]] | |||
[[Category:ProtoFlux:Interaction]] | [[Category:ProtoFlux:Interaction]] | ||
Latest revision as of 16:39, 23 October 2025
The Touchable Events node takes in a global Event Source reference and will listen for events from that global reference. When it detects something happening, it will fire events depending on what happens, along with other data.
Outputs
OnEvent (Call)
Fires an Impulse when the event happens.
Hover (EventState)
The event state that defines this hover.
Touch (EventState)
The event state that defines this touch.
Point (float3)
The point in global transform in the world the user's cursor is at on the surface of the button during any of this node's Impulses. Also see: Coordinate spaces
Tip (float3)
The tip of the touchable.
Source (Component)
The source of the button press.
When using the laser on the button, this returns with RelayTouchSource.
When physically pressing the button, this returns with TipTouchSource.
Globals
EventSource (TouchEventRelay)
The TouchEventRelay component to read events from.