Item Event
Triggers every time certain actions are done with/by an item
Variables
The following variables will be populated when this trigger executes:
Description | ||
---|---|---|
itemEventType | string | The item event type Example: Added, Removed, DroppedPinned, DroppedUnpinned, Clicked, Locked, Unlocked |
itemFileName | string | The item's file name. If you pass in a list of item filenames, items with non-matching filenames will not trigger the event. This does "contains-matching", so for example if you pass in "my", it will match the item my_item.png Example: Black Sunglasses |
itemInstanceId | string | The item's instance ID. If you pass in a list of item IDs, items with non-matching IDs will not trigger the event Example: a27fa7a3c94c44d5a15c0abb4c3128a9 |
position.x | double | The item x position in the usual coordinate system Example: 0.0479986667633057 |
position.y | double | The item y position in the usual coordinate system Example: 0.344514489173889 |