i want to make a program where when "r" is pressed and actor is existing in the world something does not happen, but when "r" is pressed and actor is not existing world does something.
How do i do to make the world find/ detect actor in the world?
