Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的应用程序中,我画线和圆圈。如何擦除线条。使用触摸功能擦除线条和圆圈。
你想删除触摸对象?
local function onTouch(event) local object = event.target object:removeSelf() return true end object:addEventListener("touch",onTouch)
object:removeSelf() 肯定会帮助你
尝试放置一些与背景颜色相同的物体。