Skip to content

Commit

Permalink
Update Functions-(2D-Checkers).md
Browse files Browse the repository at this point in the history
  • Loading branch information
offalynne authored Aug 12, 2023
1 parent 5957d80 commit b85ae09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/6.0/Functions-(2D-Checkers).md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ The struct returned by this function contains two member variables: `.x` and `.y

```gml
//Move instance according to horizontal and vertical input
var _movement = input_x("left", "right", "up", "down");
var _movement = input_xy("left", "right", "up", "down");
x += _movement.x;
y += _movement.y;
```
Expand Down

0 comments on commit b85ae09

Please sign in to comment.