BaseItem.transition.move_on_path method

move_on_path(self, path: PathItem, reverse: bool = ..., start_point: float = ..., end_point: float = ..., speed: float = ..., time: float = ..., turn_with_path: bool = ..., repeat: bool = ..., callback: Callable[[], None] = ...) -> Tweener:

Moves this item on a PathItem.

Example

Parameters

  • path: PathItem
  • reverse: (optional) bool
  • start_point: (optional) float
  • end_point: (optional) float
  • speed: (optional) float
  • time: (optional) float
  • turn_with_path: (optional) bool
  • repeat: (optional) bool
  • callback: (optional) Callable[[], None]

Returns

created Tweener.