ArcBasicDocs

MouseHit

Number of clicks since last checked.

MouseHit ( button )

Parameters

button
1 for the left button, 2 for the right and 3 for the middle.

Description

Gives back how many times a mouse button has been clicked since the last time you asked about that button, and starts counting again from 0. Use it for clicks, as MouseDown would act on every frame the button is held.

See also