>
	// set end point to ne 5 meters in<br/>
	// front of the view<br/>
	vec3 end = pos + dir * 5.0f;<br/>
	<br/>
	// collision mask -1 means all bits, aka<br/>
	// collide with all collision groups<br/>
	auto coll = Physics::Raycast(pos, end, -1);<br/>
	<br/>
	<br/>
	// skip collision if no entity attached<br/>
	if (!coll.collider || !coll.collider->GetParent())<br/>
		return;<br/>
	<br/>
	auto entity = coll.collider->GetParent();<br/>
	<br/>
	// send a SELECTED message to the collided<br/>
	Message msg;<br/