# On Click



| Syntaxes                                                                                                                                                                                                                                      | Version |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| \[(right\|left)\[( \|-)]]\[mouse\[( \|-)]]click\[ing] \[on %entity type/item type%] \[(with\|using\|holding) %item type%] \[(right\|left)\[( \|-)]]\[mouse\[( \|-)]]click\[ing] (with\|using\|holding) %item type% on %entity type/item type% | 1.0     |

Lorsqu'un joueur effectue un clic: sur une entité ou avec un item.

**Exemples:**

```erlang
on click:
on rightclick holding a fishing rod:
on leftclick on a stone or obsidian:
on rightclick on a creeper:
on click with a sword:
```
