Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:HasLocalFocus: Difference between revisions

From Resonite Wiki
Created a page for the Has Local Focus node.
 
rewording, cleanup
Line 12: Line 12:
|}}
|}}


The <code>Has Local Focus</code> node takes in an [[Type:IFocusable|IFocusable]] from a UI and returns if the local [[User|user]] has that particular focus currently.
The '''Has Local Focus''' node takes in an [[Type:IFocusable|IFocusable]] and returns if that focusable is currently focused by the local [[User|user]].  This node is [[ContinuouslyChanging]].


== Inputs ==
== Inputs ==
Line 24: Line 24:
=== * ([[Type:bool|bool]]) ===
=== * ([[Type:bool|bool]]) ===


Returns if this IFocusable UI is being focused by the user currently.
Outputs true if the target IFocusable is currently focused by the local user.


[[Category:ProtoFlux:Interaction:UI]]
[[Category:ProtoFlux:Interaction:UI]]

Revision as of 03:30, 18 April 2025

Has Local Focus
Target
*
UI

The Has Local Focus node takes in an IFocusable and returns if that focusable is currently focused by the local user. This node is ContinuouslyChanging.

Inputs

Target (IFocusable)

The target IFocusable reference to check.

Outputs

* (bool)

Outputs true if the target IFocusable is currently focused by the local user.