I'd like to make a simple game and erase the node (enemy) with a touch event, but I don't know how to do it.Thank you for your cooperation.ios
removeFromParent() disappears the node.
If the code you provided doesn't go away, I think there is a problem where there is no presentation.
*In order to eliminate duplicate questions, you may want to delete the other question as well as leave the other question.
© 2022 OneMinuteCode. All rights reserved.