Skip to content

event onInventorySlotChange (client-side)

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.