# Hi i am getting an error on the boolean method saying missing left curly brace at the end of the crash method

**URL:** <https://discourse.processing.org/t/hi-i-am-getting-an-error-on-the-boolean-method-saying-missing-left-curly-brace-at-the-end-of-the-crash-method/5759>\
**Category:** Coding Questions\
**Created:** [November 20, 2018, 12:50pm UTC](https://discourse.processing.org/t/hi-i-am-getting-an-error-on-the-boolean-method-saying-missing-left-curly-brace-at-the-end-of-the-crash-method/5759 "2018-11-20T12:50:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![redFoa](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@redFoa](https://discourse.processing.org/u/redFoa)\
**Post date:** [November 20, 2018, 12:50pm UTC](https://discourse.processing.org/t/hi-i-am-getting-an-error-on-the-boolean-method-saying-missing-left-curly-brace-at-the-end-of-the-crash-method/5759/1 "2018-11-20T12:50:14Z")

</div>

bnbmb,n,m,jkhkhkj;h;hjj

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 20, 2018, 2:48pm UTC](https://discourse.processing.org/t/hi-i-am-getting-an-error-on-the-boolean-method-saying-missing-left-curly-brace-at-the-end-of-the-crash-method/5759/2 "2018-11-20T14:48:05Z")

</div>

- -a- that is not a code we could run  
( even with the image files)

- -b- it is not formatted using [ctrl][t] in processing IDE copy paste into

> \</\> code block

- -c- there is no variable “left arrow” in the code so i doubt that was the error msg.  
pls. post the complete error from the console.

- -d- `southwest` is wrong, try `southWest`  
despite that this part of the code seems to be misplaced,  
should it be a method of the class?

---

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 20, 2018, 10:04pm UTC](https://discourse.processing.org/t/hi-i-am-getting-an-error-on-the-boolean-method-saying-missing-left-curly-brace-at-the-end-of-the-crash-method/5759/3 "2018-11-20T22:04:35Z")

</div>

Simply delete the last Curly bracket.
