Movable
Types
Link copied to clipboard
interface MoveResult
Represents the result of a move operation. This interface provides a success property that indicates whether the move was successful or not. If the move was successful, success is true, otherwise it is false. The type property aims at uniquely identifying the reason why the move was not successful. The following types are available:
Properties
Functions
Link copied to clipboard
Tries to move the entity to the specified destination. If the entity cannot be moved to the location, the method returns a MoveResult that specifies whether the move was successful or not.