Set the object's height to the number of tile height's specified.
heightByTile (Numberval, BooleanlockAspect)
NumbervalNumber of tiles.
BooleanlockAspectIf true, sets the width according to the texture aspect ratio and the new height.
Returns * The object this method was called from to allow method chaining.
Set the height of the entity based on the tile height of the map the entity is mounted to
// Set the entity height to the size of 1 tile with
// lock aspect enabled which will automatically size
// the width as well so as to maintain the aspect
// ratio of the entity
entity.heightByTile(1, true);