# compoundScroll

fun compoundScroll(slots: InventorySlotCompound<T>, icon: ItemStack, compound: GUISpaceCompound<T, *>, scrollDistance: Int = 1, scrollTimes: Int = 1, reverse: Boolean = false)
Content copied to clipboard
fun compoundScroll(slots: InventorySlotCompound<T>, icon: ItemStack, compound: GUIRectSpaceCompound<T, *>, scrollTimes: Int = 1, reverse: Boolean = false)
Content copied to clipboard

By pressing this button, the user scrolls forwards or backwards in the compound.