# (osnap point mode)
[GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<a id="239"></a>
## (osnap point mode)
---
Determine the 3-D coordinates of an entity snap.
---
This function uses the GstarCAD® entity snap modes to find a point. You specify which entity snap mode to use with the *mode* argument. You can assign multiple modes simultaneously.
| Mode | Meaning |
| --- | --- |
| "nea" | NEArest |
| "end" | ENDpoint |
| "mid" | MIDpoint |
| "cen" | CENter |
| "per" | PERpendicular |
| "tan" | TANgent |
| "qua" | QUAdrant |
| "ins" | INSertion |
| "po" | POint |
| "int" | INTersection (3D intersection) |
| "pla" | PLAnview (2D intersection) |
| "vis" | VISible (apparent intersection) |
| "off" | Off |
Using the *point* argument, you specify a point near the entity where the snap attaches to. If no point is found that specifies the *mode* requirements, the function returns nil.
### Examples
| Code | Returns |
| --- | --- |
| (**osnap** '(1 5\) "center") | (5.0 5.0 0.0) |
| (**osnap** p1 "midp,endp,center") | (2.5 3.0 0.0) |
**NOTE** The distance allowable between the starting point and the entity is determined by the system variable APERTURE, which ranges from 1 to 50 pixels.
**Tell me about...**
[(getpoint \[point\] \[prompt\])](%28getpoint%20-point-%20-prompt-%29.md)
[(inters point1 point2 point3 point4 \[flag\])](%28inters%20point1%20point2%20point3%20point4%20-flag-%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28osnap%20point%20mode%29.md)