How do i make a layer not follow the camera?

I have searched the forum for answers and I didn’t find anything that i understood.

The new layer where the tilemap is on is following the camera.

It shouldn’t do that and also this is a new topdown template so the player has camera following it already.

But it’s acting like a background layer.

So please help and try to make it understandable.

If you are want layer on which you put something and it does not move you simply don’t add action for camera to follow anything on that layer

Holy English. And if I understood it correctly you didn’t understand me, the player has a behaviour that makes a camera follow the object smoothly.

Are you sure the tiles are on another layer to the player? In the editor, have them both on the screen. If you hide the player’s layer only (by clicking the eye icon for the layer) do the tiles disappear too?

If not, then it could be one of three things:

  1. The tiles have camera follow behaviour on it.
  2. The tiles are on the base layer and the player isn’t
  3. There are events that move the camera for the tiles’ layer.

Thanks for help but I already figured it out, I set the tilemap to base layer and set it’s z to 0. But I still don’t know why new layers stick to the camera.

Yes, base layer is what the smooth camera behaviour works with. I can’t answer for why new layers follow it, other than that maybe the layer the objects are on is the base layer, and not the intended layer. Make sure a dragged object’s target layer is selected - the layer will have the filled white dot next to its name in the layer panel:

Then you need to check if your object is NOT on layer on which player is
And you also need to make sure you don’t have copy camera settings extension

If none will work for you then simply make smooth cam via events and now you will have better control over what is going on

To make sure we aren’t using the wrong vocabulary:

When you say ‘follow the camera’ do you mean they stay visible on the screen?

If so, they aren’t following the camera. The camera isn’t moving. Each layer has its own unique camera, and each layer has to be moved independently via events.