1. To post an image, you have to upload it and then use the link directly to this image and put it into the img-tag.
2. When posting code, no image is necessary, just use the code-tag.
3. Errors in your code:
- You check if x or y is less than OR greater than something. The OR (||) is missing in both.
- There is an additional w in the last 'getWorld'.