ExtendedItemCustomDraw
Callable
Parameters
Name: string
The name of the button and its pseudo-type
X: number
The X coordinate of the button
Y: number
The Y coordinate of the button
imagePath: string = null
— The pa
IsSelected: boolean = false
Whether the button is selected or not
ChangeWhenLocked: boolean = true
Whether the button can be clicked when locked
Returns void
Nothing
Helper click function for creating custom buttons, including extended item permission support.