Check material of right click