For some reason selecting by tag isn’t working. When my ray hits an entity with the tag ‘Pickup’ it does not display the log, however, it is hitting the object with the tag. See code…
var hitEntity = result.entity;
console.log('You selected ' + hitEntity.name); //DISPLAYS CORRECTLY
if (hitEntity.tags.has('Pickup'))
{
console.log('You selected a pickup'); //DOES NOT DISPLAY
}