BaseItem.input property
Methods
on_button_down | (self, handler: Callable[[], None]) -> None |
Triggers whenever the main input is pressed down inside of this item. |
|
on_button_up | (self, handler: Callable[[], None]) -> None |
Triggers whenever the main input is released inside of this item. |
|
on_click | (self, handler: Callable[[], None]) -> None |
Triggers whenever the main input is pressed and released inside of this item. |
|
on_hover | (self, handler: Callable[[t: bool], None]) -> None |
Triggers whenever the item is hovered. |
|
set_collision_drag | (self) -> None |
Creates a drag interaction on this item to another |
|
set_collision_drag | (self, callback: Callable[[], None]) -> None |
Creates a drag interaction on this item to another |
|
set_item_drag | (self, target: BaseItem) -> None |
Creates a drag interaction which causes this |
|
set_item_drag | (self, target: BaseItem, callback: Callable[[], None]) -> None |
Creates a drag interaction which causes this |