ProtoFlux:Get User Anchor: Difference between revisions

From Resonite Wiki
Create Get User Anchor ProtoFlux Node Page
 
reword, add additional info
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.
 
This node is [[ContinuouslyChanging]].


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


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 28:
=== * ([[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]]

Revision as of 04:23, 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.

This node is ContinuouslyChanging.

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.