Description
Attaches a persistent floating tooltip to a world position or player that displays a custom string when a specified audience looks at it within a maximum range. The tooltip fades when the viewer looks away. Destroyed with Destroy Tooltip.
Snippet
Create Tooltip(All Players, Position Of(Event Player), Custom String("Press Interact to activate"), 10);
Properties
Returns: Void
Parameters: Visible To, Position, Text, Max Range
Visible To
Type: Player, Default: All Players
The players who can see the tooltip.Position
Type: Vector, Default: Vector(0, 0, 0)
The world position the tooltip is anchored to. Supports reevaluation.Text
Type: String, Default: Custom String("")
The text content displayed in the tooltip.Max Range
Type: Number, Default: 10
The maximum distance in meters at which the tooltip becomes visible to a player looking at it.