Skip to content

On Cursor Click

Input ยป On Cursor Click

Description

Detects when the cursor clicks this game object

Parameters

Name Description
Button The mouse button to detect
Min Distance If set to None, the mouse input acts globally. If set to Game Object, the event only fires if the target object is within a certain radius

Keywords

Down Mouse Button Hover Left Middle Right