Discuss Scratch

MyScratchedAccount
Scratcher
1000+ posts

Pen transparency block

Set pen transparency to [0%] ::pen // sets the transparency 

Change transparency by [0%] ::pen // changes it by a number

Reset all transparency ::pen // makes the transparency and the other pen that had it go back to %0 transparency.

(Transparency ::pen) // returns the current transparency

Stamp with transparency [%10] ::pen // stamps with transparency

This could be useful for lots of things!
It will be a green block.

Warning! Do not take down or report this is not the main focus of a poll. I just want to see if people like it and suggest it
poll
Do you think this is a good idea?
Thumbs up: (1)
MyScratchedAccount
Thumbs down (0)
None
Meh… (0)
None

Reply with an answer

Last edited by MyScratchedAccount (Jan. 21, 2023 08:11:44)

-Valtren-
Scratcher
1000+ posts

Pen transparency block



already exists
workarounds:
define reset all transparency
set pen (transparency v) to 0 :: pen
set [ghost v] effect to (0)

forever
set pen (transparency v) to (foo) :: pen
end
(foo)
define stamp with transparency (t)
set [ghost v] effect to (t)
stamp
set [ghost v] effect to (0) // you could also customise the block to set it to the previous value of transparency.

Last edited by -Valtren- (Jan. 21, 2023 10:22:36)

ajskateboarder
Scratcher
1000+ posts

Pen transparency block

This already exists in Scratch and we have simple workarounds for resetting transparency.

MyScratchedAccount wrote:

poll
Do you think this is a good idea?
Thumbs up: (1)
MyScratchedAccount
Thumbs down (0)
None
Meh… (0)
None

Reply with an answer
What's the point of this
medians
Scratcher
1000+ posts

Pen transparency block

…Didn’t the stamp with transparency thing exist or am I dreaming?
Also did you not know because they’re not on the forums?
Workarounds:
define set pen transparency to (number1)
set pen [transparency v] to (number1) ::pen
set [transparency v] to (number1)
define reset pen transparency
set pen transparency to (0)% ::custom
cosmosaura
Scratch Team
1000+ posts

Pen transparency block

Since this is already added, I will close the post. Thanks!

Powered by DjangoBB