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.
Related reference
AddCopyButton
This compatibility method behaves like CreateCopyButton. Creates a button that copies a configured value. It is kept so scripts written with the older AddCopyButton name continue to work.
AddDiscord
This compatibility method behaves like AddDiscordImg. Adds a Discord invite image or prompt with remembered open behavior. It is kept so scripts written with the older AddDiscord name continue to work.