LM_Graphics:ScreenToWorld(where, pt)
Version added: before 9.5
Converts a screen pixel location to 3D world coordinates
Arguments:
| Name | Type | Description | Default | Ver |
| where | Point | Pixel location | < 9.5 | |
| pt | Vector3 | 3D world position - filled in by this function | < 9.5 |
Return value:
void none
Converts a screen pixel location to 3D world coordinates. As an example, this can be used to convert between a mouse click to a location in the current Moho layer.
Search results
Usage of 'ScreenToWorld' is found in the following scripts:
MR Animate Points (Original Edition) by eugenebabich
View Code
MP Curvature Tool (Original Edition) by Marisol Petretto
View Code