Switch an entity's current animation at runtime. Resets state if switching to a different animation (or restart=true).
Optional
false if entity has no spriteAnimation or animation name doesn't exist
Switch an entity's current animation at runtime. Resets state if switching to a different animation (or restart=true).