## Discuss Scratch

MathPuppy314
Scratcher
100+ posts

### Effects variable

Scratch has
`set [... v] effect to (...)`

They need
`([...] effect)`
to record the effects.

Last edited by MathPuppy314 (Feb. 16, 2020 19:42:29)

`when I receive [broadcast1 v]broadcast [broadcast1 v]`
chrdagos
Scratcher
500+ posts

### Effects variable

MathPuppy314 wrote:

Scratch has
`set [... v] effect to (...)`

They need
`([...] effect)`
to record the effects.
if you meant
`( [ v] effect :: looks)`

then yes, that is a good suggestion. but maybe it could be

`([ v] effect of [Sprite1 v] :: looks`
or
`([ v] effect of [Sprite1 v] :: sensing`

Last edited by chrdagos (Feb. 16, 2020 21:20:48)

DownsGameClub
Scratcher
1000+ posts

### Effects variable

How would this report? Would it be a true/false, or a scale from 0-100?
Why should we not use a new variable and set the variable to the effect we want the sprite to have?

chrdagos
Scratcher
500+ posts

### Effects variable

DownsGameClub wrote:

How would this report? Would it be a true/false, or a scale from 0-100?
Why should we not use a new variable and set the variable to the effect we want the sprite to have?
fro 1, it is a reporter, not a boolean. and using variables would be pointless, since you would need to add 6 variables to every sprite.
and another thing, there is a minuscule wait between blocks, so setting a variable will not do
E_Equals_EmCeCube3
Scratcher
500+ posts

### Effects variable

It looks like this block idea has been suggested before in this topic.
Please continue the discussion there so we can keep individual suggestions organized and in one topic.

Equation of the Day:

Newton's law of universal gravitation. The gravitational force (F: N; netwons) between any two bodies depends on their masses (m1 and m2: kg) and the square of the distance (r: m; meters) they are apart. G is the gravitational constant. (≈ 6.674 ⨯ 10‾¹¹ N∙m²/kg²)

Scratch Team
1000+ posts

### Effects variable

E_Equals_EmCeCube3 wrote:

It looks like this block idea has been suggested before in this topic.
Please continue the discussion there so we can keep individual suggestions organized and in one topic.
Thanks for the link! It does look like this is a duplicate topic so I'll close it to keep the conversation all in one place.