Discuss Scratch

-motionless-
Scratcher
100+ posts

Changing layer of pen

Changing layer of pen

So in the project I'm working on there are 2 sprites. One is the pen sprite the other is the object sprite. Something the pen sprite won't do is draw in front of the object sprite. Iv tried changing their layer using the
go to front 
block but that doesn't seem to work.

Last edited by -motionless- (Jan. 4, 2023 19:17:40)

cookieclickerer33
Scratcher
1000+ posts

Changing layer of pen

You can’t change the layer the pen is on
It’s always on the same layer as the background
-motionless-
Scratcher
100+ posts

Changing layer of pen

cookieclickerer33 wrote:

You can’t change the layer the pen is on
It’s always on the same layer as the background
Aww that's annoying
cookieclickerer33
Scratcher
1000+ posts

Changing layer of pen

-motionless- wrote:

cookieclickerer33 wrote:

You can’t change the layer the pen is on
It’s always on the same layer as the background
Aww that's annoying
Ikr…

You can try making what the pen draws into a sprite and then layering that
You could also use clones, size changes, and color effects to replicate the pens functionality
-motionless-
Scratcher
100+ posts

Changing layer of pen

cookieclickerer33 wrote:

-motionless- wrote:

cookieclickerer33 wrote:

You can’t change the layer the pen is on
It’s always on the same layer as the background
Aww that's annoying
Ikr…

You can try making what the pen draws into a sprite and then layering that
You could also use clones, size changes, and color effects to replicate the pens functionality
I can't use ones cuz I would need about 20k
cookieclickerer33
Scratcher
1000+ posts

Changing layer of pen

-motionless- wrote:

cookieclickerer33 wrote:

-motionless- wrote:

cookieclickerer33 wrote:

You can’t change the layer the pen is on
It’s always on the same layer as the background
Aww that's annoying
Ikr…

You can try making what the pen draws into a sprite and then layering that
You could also use clones, size changes, and color effects to replicate the pens functionality
I can't use ones cuz I would need about 20k
Sorry. This happened to me too when I first tried to use it.

You could try using the stamp feature
DeveloperTools
Scratcher
100+ posts

Changing layer of pen

-motionless- wrote:

Changing layer of pen

So in the project I'm working on there are 2 sprites. One is the pen sprite the other is the object sprite. Something the pen sprite won't do is draw in front of the object sprite. Iv tried changing their layer using the
go to front 
block but that doesn't seem to work.
You cant, but you can use broadcast and sprite layers to stamp all sprites after 1st layer pen is drawn and then draw the 2nd layer.

Sprites in the front layer receive Broadcasts first, and ones in the back layer update last.

-motionless-
Scratcher
100+ posts

Changing layer of pen

cookieclickerer33 wrote:

-motionless- wrote:

cookieclickerer33 wrote:

-motionless- wrote:

cookieclickerer33 wrote:

You can’t change the layer the pen is on
It’s always on the same layer as the background
Aww that's annoying
Ikr…

You can try making what the pen draws into a sprite and then layering that
You could also use clones, size changes, and color effects to replicate the pens functionality
I can't use ones cuz I would need about 20k
Sorry. This happened to me too when I first tried to use it.

You could try using the stamp feature
I realized how to do it. Youv got to put the object sprite into the stage
-motionless-
Scratcher
100+ posts

Changing layer of pen

DeveloperTools wrote:

-motionless- wrote:

Changing layer of pen

So in the project I'm working on there are 2 sprites. One is the pen sprite the other is the object sprite. Something the pen sprite won't do is draw in front of the object sprite. Iv tried changing their layer using the
go to front 
block but that doesn't seem to work.
You cant, but you can use broadcast and sprite layers to stamp all sprites after 1st layer pen is drawn and then draw the 2nd layer.

Sprites in the front layer receive Broadcasts first, and ones in the back layer update last.

Iv fixed it

Powered by DjangoBB