# dataPath() problem under Mac OS X

**URL:** <https://discourse.processing.org/t/datapath-problem-under-mac-os-x/5486>\
**Category:** Coding Questions\
**Created:** [November 12, 2018, 11:28pm UTC](https://discourse.processing.org/t/datapath-problem-under-mac-os-x/5486 "2018-11-12T23:28:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [November 13, 2018, 6:50am UTC](https://discourse.processing.org/t/datapath-problem-under-mac-os-x/5486/3 "2018-11-13T06:50:24Z")

</div>

> [@kfrajer](#):
>
> The **settings()** function should be used only to set the size of the sketch but nothing else more.  
> I would not recommend accessing **dataPath()** or any other PApplet function there.

Anything related to _sketchPath_ is safe in **settings()** already. 🛡

---

_[View the full topic](https://discourse.processing.org/t/datapath-problem-under-mac-os-x/5486)._
