# Touch
TIP
This event can be cancelled
# Event Details
- The Touch event gets called whenever a player interacts with something, you can get some information from the event with the variables listed below
# Variables
$args$[0]
- The player that interacted with something$args$[1]
- The item name, custom name, ID, meta, amount, and NBT that the player is holding as an array$args$[2]
- The block name, id, and meta that the player interacted with as an array$args$[3]
- The world that the block is in$args$[4]
- TheX
position of the block$args$[5]
- TheY
position of the block$args$[6]
- TheZ
position of the block
# Usage
- Add a command to be called when this event triggers by running
/acodes event touch add <command>