Grab selected scene index in a variable