Started adding "cubeIsSelectable" function