adds actor, player and edge detection