# compoundScroll

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

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