Skip to content

event onInventorySlotChange (client-side)

Available since version: 0.1.4

This event is triggered when hero changes selected item in opened inventory. Slots are numbered from left to right.

Parameters

int from, int to
  • int from: represents previous slot number.
  • int to: represents current slot number.