kill
Kill a process. It returns true when the process was alive.
Available as kill after import_globals() or mv.process.kill.
Parameters
handle— A process handle.
if kill(enemy) then print("removed")endRelated: signal, kill_tree, alive.
See the lua processes guide for more examples and limits.