MapFormat.removeObjectFromLayer

Removes an object from a layer. Intended for editor use.

class MapFormat
@trusted
Tag
removeObjectFromLayer
(
int layer
,
int objID
)

Parameters

layer int

ID of the layer from which we want to remove the object from.

objID int

ID of the object we want to remove.

Return Value

Type: Tag

the tag of the object that has been removed if the operation is successful.

Meta