From 275356fb9d464ff77ceae858aa6bb93fe8f07036 Mon Sep 17 00:00:00 2001
From: Robert Jelic <36573031+NoryiE@users.noreply.github.com>
Date: Thu, 2 Jun 2022 23:26:43 +0200
Subject: [PATCH] Update mouseEvents.md
---
docs/events/mouseEvents.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/events/mouseEvents.md b/docs/events/mouseEvents.md
index a6a63c4..4f3f54b 100644
--- a/docs/events/mouseEvents.md
+++ b/docs/events/mouseEvents.md
@@ -1,7 +1,7 @@
Here we will talk about mouse events and how you can manipulate them. There are 2 possible mouse events you can add to almost every visual object.
# onClick
-`onClick(self, button, x, y)`
+`onClick(self, button, x, y)`
The computercraft event which triggers this method is `mouse_click` and `monitor_touch`.
Any visual object can register onClick events.
@@ -20,7 +20,7 @@ button:onClick(buttonOnClick())
```
# onClickUp
-`onClickUp(self, button, x, y)`
+`onClickUp(self, button, x, y)`
The computercraft event which triggers this method is `mouse_up`.
Any visual object can register onClickUp events.
@@ -44,7 +44,7 @@ button:onClickUp(buttonOnRelease)
```
# onScroll
-`onScroll(self, direction, x, y)`
+`onScroll(self, direction, x, y)`
The computercraft event which triggers this method is `mouse_scroll`.
Any visual object can register a onScroll events.