diff --git a/Frequently-asked-Questions--Common-Questions.md b/Frequently-asked-Questions--Common-Questions.md index 484f196..8a78b1e 100644 --- a/Frequently-asked-Questions--Common-Questions.md +++ b/Frequently-asked-Questions--Common-Questions.md @@ -61,7 +61,7 @@ There will be times when you need to convert from screen coordinates into world This will convert a screen point into a world point for a camera. This will include zoom and scale. It is very common to use this to get the mouse position in world coordinates to do collisions or picking. -`Vector2 mouseInWorld = GetScreenToWorld2D(GetMousePosition(),MyCamera);` +`Vector2 mouseInWorld = GetScreenToWorld2D(GetMousePosition(), MyCamera);` ### GetWorldToScreen2D `Vector2 GetWorldToScreen2D(Vector2 position, Camera2D camera); `