ProtoFlux:Has Local Focus: Difference between revisions

From Resonite Wiki
Created a page for the Has Local Focus node.
 
No edit summary
 
(One intermediate revision by the same user not shown)
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]].


== 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]]
[[Category:ContinuouslyChanging nodes]]

Latest revision as of 04:27, 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.

Inputs

Target (IFocusable)

The target IFocusable reference to check.

Outputs

* (bool)

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