Skip to content

isObjectMoving(), onObjectMoved #874

Closed
@WADmitry

Description

@WADmitry

Is your feature request related to a problem? Please describe.
We can move an object using moveObject() function, but we cannot know whether the object has finished moving.

Describe the solution you'd like
Add a new function isObjectMoving() which returns true if object moving or false otherwise. Add a new event onObjectMoved.

Describe alternatives you've considered
In some cases I can store target coords and then compare the current position with them, but it won't work with some types of easing (elastic, outback, bounce, etc).

Additional context
no

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions