ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. destroyGroundDecal

Function

destroyGroundDecal

New function!Added to Trilogy Hub on 2 Nov 2026.

ClientDrawing (dx)Trilogy Hub only

Removes a decal made with createGroundDecal.

Syntax

bool destroyGroundDecal(int decal)

Arguments

decalint
Decal number.

Returns

true when the decal existed.

Example

local x, y, z = getElementPosition(localPlayer)
local decal = createGroundDecal("img/strzalka.png", x, y, z, 3)
setTimer(destroyGroundDecal, 5000, 1, decal)

See also