scroll

fun scroll(amount: Int, mouseX: Int, mouseY: Int): Boolean

Scrolls the panel extension by the given number of elements. If the panel is not extended does nothing.

Parameters

amount

The amount to scroll