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

Category: image (18)

Lua Command tween_move

Categories

Parameters

  • id
  • time
  • x
  • y
  • [rot] (optional)

Info

Creates a movement tween which moves the image (with the specified ID) to x,y in the given time (+rotates it if rot is specified).

Note: Time in ms (milliseconds, 1000 ms = 1 sec)