ComponentT.scrollToPoint

Move the top-left of @component to a given position of the screen by scrolling all necessary parents.

template ComponentT(TStruct)
bool
scrollToPoint

Parameters

coords AtkCoordType

specify whether coordinates are relative to the screen or to the parent object.

x int

x-position where to scroll to

y int

y-position where to scroll to

Return Value

Type: bool

whether scrolling was successful.

Meta

Since

2.30