Fixed the upper object

The upper ray now detects what tag is placed and react according to it