implements select entity option and sets cursor shape