We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feebf7c commit 3ae2e0bCopy full SHA for 3ae2e0b
1 file changed
arcade/camera/camera_2d.py
@@ -644,7 +644,13 @@ def projection_data(self) -> OrthographicProjectionData:
644
645
@property
646
def position(self) -> Vec2:
647
- """The 2D world position of the camera along the X and Y axes."""
+ """
648
+ The 2D position of the camera.
649
+
650
+ This is in world space, so the same as :py:class:`Sprite` and draw commands.
651
+ The default projection is a :py:func:`XYWH` rect positioned at (0, 0) so the
652
+ position of the camera is the center of the screen.
653
654
return Vec2(self._camera_data.position[0], self._camera_data.position[1])
655
656
# Setter with different signature will cause mypy issues
0 commit comments