[Documentation] Updated example for Clay_SetPointerState

- just added the second argument as it was missing before
This commit is contained in:
= 2025-01-05 21:15:20 +01:00
parent 6cb9c7c483
commit a4d5d8787a

View File

@ -245,7 +245,7 @@ This ID (or, if not provided, an auto generated ID) will be forwarded to the fin
Clay provides several functions for handling mouse and pointer interactions.
All pointer interactions depend on the function `void Clay_SetPointerState(Clay_Vector2 position)` being called after each mouse position update and before any other clay functions.
All pointer interactions depend on the function `void Clay_SetPointerState(Clay_Vector2 position, bool isPointerDown)` being called after each mouse position update and before any other clay functions.
**During UI declaration**