AddScrollHint
This compatibility method behaves like CreateScrollHint. Creates a hint that can prompt or automatically perform a scroll action. It is kept so scripts written with the older AddScrollHint name continue to work.
AddScrollHint
Compatibility alias
AddScrollHint is an alternate name for CreateScrollHint. New code can use CreateScrollHint.
What it does
This compatibility method behaves like CreateScrollHint. Creates a hint that can prompt or automatically perform a scroll action. It is kept so scripts written with the older AddScrollHint name continue to work.
When to use it
Use it when more content exists below the visible area and users may not notice it. Prefer CreateScrollHint in new code so the method name matches the current API.
ElementFunction:AddScrollHint(HintConfig)
local Result = Section:AddScrollHint({
Callback = function(value)
print(value)
end,
})Behavior and return value
This alias forwards to CreateScrollHint, 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
AddScriptBlox
This compatibility method behaves like AddScriptHub. Adds a searchable, sortable script catalog. It is kept so scripts written with the older AddScriptBlox name continue to work.
AddScrollIndicator
This compatibility method behaves like CreateScrollHint. Creates a hint that can prompt or automatically perform a scroll action. It is kept so scripts written with the older AddScrollIndicator name continue to work.