Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 321 Bytes

on_click.md

File metadata and controls

17 lines (10 loc) · 321 Bytes

Function component called when the entity is clicked.

Prototype

void (int button);

Parameters

  • button: mouse button that was clicked

Usage

The on_click system will call this function component for the entity found in the clicked pixel.