inRoots

WidgetQuery inRoots(Array<int> roots)

See how inIndexPath works - this is equivalent to:

    for (int i : roots) {
        inIndexPath(i);
    }

Return

this query

See also

org.tribot.script.sdk.query.WidgetQuery

WidgetQuery#inIndexPath(int...)

Parameters

roots

the widget search root indexes