MCPcopy
hub / github.com/ManimCommunity/manim / get_y

Method get_y

manim/mobject/mobject.py:2314–2316  ·  view source on GitHub ↗

Returns y Point3D of the center of the :class:`~.Mobject` as ``float``

(self, direction: Vector3DLike = ORIGIN)

Source from the content-addressed store, hash-verified

2312 return self.get_coord(0, direction)
2313
2314 def get_y(self, direction: Vector3DLike = ORIGIN) -> float:
2315 """Returns y Point3D of the center of the :class:`~.Mobject` as ``float``"""
2316 return self.get_coord(1, direction)
2317
2318 def get_z(self, direction: Vector3DLike = ORIGIN) -> float:
2319 """Returns z Point3D of the center of the :class:`~.Mobject` as ``float``"""

Callers 1

beginMethod · 0.45

Calls 1

get_coordMethod · 0.95

Tested by

no test coverage detected