From 876f38fd20491d1bb56d9808b5a590f7932d1ec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Styrbj=C3=B6rn?= Date: Sun, 5 Jan 2025 23:30:25 +0100 Subject: [PATCH] [Documentation] Updated example for `Clay_SetPointerState` (#167) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f4c34a0..2d19696 100644 --- a/README.md +++ b/README.md @@ -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**