ProtoFlux:Get User Anchor: Difference between revisions

From Resonite Wiki
Create Get User Anchor ProtoFlux Node Page
 
continuously changing
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
|}}
|}}


Get User Anchor is a ProtoFlux node that gets the anchor that a user is currently sitting in, or null.
The '''Get User Anchor''' node is a ProtoFlux node that gets the [[anchor]] that a [[user]] is currently anchored in.


== Inputs ==
== Inputs ==
Line 19: Line 19:


The user to check for what anchor they are sitting in.
The user to check for what anchor they are sitting in.
If there is no source input then the local user will be used.


== Outputs ==
== Outputs ==
Line 24: Line 26:
=== * ([[Type:IAvatarAnchor|IAvatarAnchor]]) ===
=== * ([[Type:IAvatarAnchor|IAvatarAnchor]]) ===


The anchor that User ([[Types:User|User]]) is currently in.
The anchor that <code>User</code> is currently anchored to, outputting null if the user is not anchored.


== Examples ==
<gallery widths=480px heights=480px>
File:Protoflux_example_Get_User_Anchor.webp|Example of a Get User Anchor node being used in some code.
</gallery>


[[Category:ProtoFlux:Avatars:Anchors]]
[[Category:ProtoFlux:Avatars:Anchors]]
[[Category:ContinuouslyChanging nodes]]

Latest revision as of 04:27, 18 April 2025

Get User Anchor
User
*
Anchors

The Get User Anchor node is a ProtoFlux node that gets the anchor that a user is currently anchored in.

Inputs

User (User)

The user to check for what anchor they are sitting in.

If there is no source input then the local user will be used.

Outputs

* (IAvatarAnchor)

The anchor that User is currently anchored to, outputting null if the user is not anchored.