Get the current scroll position (X, Y) of a container object.
lvgl.getScrollPos(parent)
parent:getScrollPos()
None.
Two values, X and Y, being the current scroll position of the top left corner of the container.
Only applies to container objects such as 'box', 'rectangle' and 'page'.
BW radios
Color radios
2.11.2
Introduced
Last updated 8 months ago
Was this helpful?