ElementsContent & layout
CreateCursorTag
Creates text that follows the pointer as a contextual cursor label.
CreateCursorTag
What it does
Creates text that follows the pointer as a contextual cursor label.
When to use it
Use it for tool modes, drag hints, or short pointer-adjacent instructions.
ElementFunction:CreateCursorTag(TagConfig)
local HoverTag = LeftGroup:CreateCursorTag({
Text = "XLQP UI",
Hint = "Move your mouse here to see the live cursor tag.",
Height = 92,
Callback = function(visible)
print("cursor tag", visible)
end
})Behavior and return value
Store the returned controller or object when later code needs to update its state, call its methods, or close it.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.