mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Updated tutorial_canvas_transforms (markdown)
parent
e2dd4c019d
commit
f59558d777
@ -50,7 +50,7 @@ It is often desired to feed custom input events to the scene tree. With the abov
|
||||
|
||||
```python
|
||||
|
||||
var local_pos = Vector2(10,20) # anything local
|
||||
var local_pos = Vector2(10,20) # local to Control/Node2D
|
||||
var ie = InputEvent()
|
||||
ie.type=InputEvent.MOUSE_BUTTON
|
||||
ie.button_index=1 # left click
|
||||
|
Loading…
Reference in New Issue
Block a user