Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

Lua Hook Lua Hooks

Lua Command Lua Commands

Lua Command tween_rotateconstantly

Categories

Parameters

  • id
  • speed

Info

Creates a constant rotation animation which rotates an image (with the specified ID) permanently (negative speed for counter clockwise rotation)

Note: The rotation doesn't end until another tween with rotation is applied!