# Cast from PGraphics to GraphicsDevice?

**URL:** <https://discourse.processing.org/t/cast-from-pgraphics-to-graphicsdevice/2083>\
**Category:** Coding Questions\
**Created:** [July 25, 2018, 8:03pm UTC](https://discourse.processing.org/t/cast-from-pgraphics-to-graphicsdevice/2083 "2018-07-25T20:03:28Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Post date:** [July 25, 2018, 8:15pm UTC](https://discourse.processing.org/t/cast-from-pgraphics-to-graphicsdevice/2083/3 "2018-07-25T20:15:48Z")

</div>

By 3D I assume you’re using P3D? In which case check out GLWindow and this thread from earlier today [Problem with robot cursor](https://discourse.processing.org/t/problem-with-robot-cursor/2046)

---

_[View the full topic](https://discourse.processing.org/t/cast-from-pgraphics-to-graphicsdevice/2083)._
