# Camera preview and G-code always in top right quadrant instead of middle

**URL:** <https://forum.snapmaker.com/t/camera-preview-and-g-code-always-in-top-right-quadrant-instead-of-middle/7345>\
**Category:** Snapmaker Luban\
**Created:** [June 28, 2020, 2:23pm UTC](https://forum.snapmaker.com/t/camera-preview-and-g-code-always-in-top-right-quadrant-instead-of-middle/7345 "2020-06-28T14:23:11Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![whimsycwd](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/whimsycwd/32/3721_2.png) [@whimsycwd](https://forum.snapmaker.com/u/whimsycwd)\
**Post date:** [October 10, 2020, 6:30am UTC](https://forum.snapmaker.com/t/camera-preview-and-g-code-always-in-top-right-quadrant-instead-of-middle/7345/13 "2020-10-10T06:30:27Z")

</div>

@zwecke

When using camera capture feature, it is using the machine coordinate instead of workpiece coordinate. **Camera capture should be considered as an automated way which using the machine coordinate which is being set by the endstops.** So you don’t need to set it manually. By default is in left-bottom corner. You shouldn’t try to set origin by yourself. You should using Camera Captrue by using Luban to control SM2 directly. Please check below links out.

1. [https://support.snapmaker.com/hc/en-us/articles/360052352433-How-to-Use-the-Laser-via-Camera-Capture](https://support.snapmaker.com/hc/en-us/articles/360052352433-How-to-Use-the-Laser-via-Camera-Capture)
2. [https://support.snapmaker.com/hc/en-us/articles/360052352413-How-to-Use-the-Laser-via-Work-Origin](https://support.snapmaker.com/hc/en-us/articles/360052352413-How-to-Use-the-Laser-via-Work-Origin)

---

_[View the full topic](https://forum.snapmaker.com/t/camera-preview-and-g-code-always-in-top-right-quadrant-instead-of-middle/7345)._
