developer_editor:script:deleteshape
deleteShape
- Parameters & Types:
- shapeid:number
- Return value and type:
- ErrorCode. OK
- The main purpose of this method is to delete a shape
- Specific use cases are as follows:
--Delete the shape with id 1, parameter 1 is the shape id to be deleted MapMark:deleteShape(1) -- Show in chat box Chat:sendSystemMsg("Removed the shape with ID 1!")
developer_editor/script/deleteshape.txt · Last modified: 2024/06/18 01:47 by don