XLQP Gen1
ElementsCompatibility aliases

AddCursorTag

This compatibility method behaves like CreateCursorTag. Creates text that follows the pointer as a contextual cursor label. It is kept so scripts written with the older AddCursorTag name continue to work.

AddCursorTag

Compatibility alias

AddCursorTag is an alternate name for CreateCursorTag. New code can use CreateCursorTag.

What it does

This compatibility method behaves like CreateCursorTag. Creates text that follows the pointer as a contextual cursor label. It is kept so scripts written with the older AddCursorTag name continue to work.

When to use it

Use it for tool modes, drag hints, or short pointer-adjacent instructions. Prefer CreateCursorTag in new code so the method name matches the current API.

ElementFunction:AddCursorTag(TagConfig)

local Result = Section:AddCursorTag({
    Callback = function(value)
        print(value)
    end,
})

Behavior and return value

This alias forwards to CreateCursorTag, so its options, callbacks, and returned value follow the canonical method.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.