Skip to content

function getCurrentInventorySlot (client-side)

Available since version: 0.1.4

Note

the returned value will always start from 0.

The function is used to get currently selected hero inventory slot.

Declaration

int getCurrentInventorySlot()

Parameters

No parameters.

Returns int

the currently selected inventory slot.