Canvas on top of screen

Hi, I’m doing the first challenge at the start of the video, I’m doing fine but there’s one slight irritation that I’m not sure how to fix; the canvas is covering the top right-hand corner of the game screen and when I add an image to the canvas, it shows up on the game screen causing the making of levels an issue.

The reason I’m asking this is that I am planning to add a background to the main menu but doing so covers the screen.

Could you post a screenshot of the issue so we can see the exact issue @Recable?

Do you just want to hide this whilst you work in the Unity editor, or is it causing you problems when you run the game also?

I wanted to either move it outside of the screen space while editing or be able to hide it while editing, preferably the first option.

Sorry @recable, I am still a bit confused by what you are trying to do.

In this section, the game’s menu uses that background image, and, as a menu, you would be adding your buttons and so on to the canvas. In fact, on the menu scene for this section, there are no other game objects in the scene that really matter.

You can, of course, just select the canvas from the Hierarchy and then disable it in the Inspector by unticking the tick box (above the rec transform).

Apologies if I have misunderstood.

Sorry, I’m terrible at explaining what I mean, I wanted to move the canvas itself so it’s not on top of the scene view (not game view), however turning off the canvas is a good enough fix, thanks. :slight_smile:

1 Like

I see.

Don’t forget to turn it back on before running things, or else you’ll wonder where the canvas has gone :slight_smile:

Later, you add a “fade panel”, you can use the some enable/disable approach to hide/show that, as that really gets in the way of places game objects in the play scene :slight_smile:

I’m slightly past the fade point already :stuck_out_tongue:

Ah, ok… sorry, it’s been a little while since I’ve been through those lectures, so couldn’t remember the order of them. :slight_smile:

No, no, you’re right it is after, I just carried on while waiting for help. :slight_smile:

1 Like

Aha! Phew… thought I was losing it :wink: