Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Collision
  5. Mouse3DPoint

Mouse3DPoint

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Get the 3D point of whatever we hit by clicking the mouse

Parameters:

  • layers
    • A string value
  • hitTriggers Optional
    • A boolean value whether we detect clicks on trigger colliders

returns a String (text) value

Example:

1
obj.Mouse3DPoint(layers, hitTriggers)
Tags
Was this article helpful to you? Yes No

How can we help?