Laser

Fires a concentraded beam of energy when powered, which can be used to damage and set objects on fire. Has a Range of 1000 studs. Primarily used as a weapon in space combat situations. While it can damage objects effectively, it cannot damage energy shields. It is a craftable and spawnable non-flammable solid.
It consumes 25 power per tick.
Here is a list of possible sizes that reach the maximum malleability (40) that have integer components: 1x1x40, 1x2x20, 1x4x10, 1x5x8, 2x2x10, 2x4x5
At its default size (8x2x2) it has a durability of 8, at its maximum size it has a durability of 9.
By default, its colour is #ff0000.
Configurables
DamageOnlyPlayers
Determines if this laser is only allowed to damage players and not materials. It is a boolean
.
Events
Loop(tickInterval)
Fires when the object is updated by the game loop.
The tickInterval parameter is the inverse of the tick rate. For example, if the tick rate is 20
, this will be 1 / 20
(or just 0.05
). If the tick rate commands are accessible, running them will change this value. It is a number
.