Discuss Scratch
- Discussion Forums
- » Suggestions
- » a [point towards x( ) y( ) block
- medians
-
Scratcher
1000+ posts
a [point towards x( ) y( ) block
I don't think this would work. There is already theThat's not the same thing, it just makes the sprite go towards the position in the amount of time without changing the direction of the current sprite (well, you get what I mean), while this makes the sprite point towards the pointglide () secs to x: (0) y: (0)block. I understand the need for new Scratch blocks on this website, but I wouldn't support this.
- WillBAug1914
-
Scratcher
100+ posts
a [point towards x( ) y( ) block
guys we will need the point in x y block
- BigNate469
-
Scratcher
1000+ posts
a [point towards x( ) y( ) block
when the post button clicked ::events catA.K.A. bump
point towards [front page v]
move (10) steps
- MinionMaker27
-
Scratcher
19 posts
a [point towards x( ) y( ) block
You can use trigonometry to replicate this: so if I want to point toward x:40 y:60The problem is most people in Scratch's target audience haven't been taught trigonometry yet as its a concept that (at least in the US) is taught in high school geometry. Anyway I support as this could help younger audiences.Sorry if that's a bit off.point in direction (([atan] of ((((60) - (y position)) / ((40) - (x position))))) - (90))
Last edited by MinionMaker27 (March 19, 2025 20:51:19)
- DogLover8425
-
Scratcher
40 posts
a [point towards x( ) y( ) block
You can use trigonometry to replicate this: so if I want to point toward x:40 y:60The problem is most people in Scratch's target audience haven't been taught trigonometry yet as its a concept that (at least in the US) is taught in high school geometry. Anyway I support as this could help younger audiences.Sorry if that's a bit off.point in direction (([atan] of ((((60) - (y position)) / ((40) - (x position))))) - (90))
Raycast.
- CodeComet6161
-
Scratcher
1000+ posts
a [point towards x( ) y( ) block
look at the workaround guide brother
- theoW1200
-
Scratcher
100+ posts
a [point towards x( ) y( ) block
how come the suggestions that are like 11+ years old still arent implemented
- ywc2
-
Scratcher
100+ posts
a [point towards x( ) y( ) block
Current workaround that I see used often:
I somewhat support this, it's convenient but not absolutely needed. I find it similar to the argument for exponents in scratch; there's always a way but there could be a better way.
point in direction (([atan v] of (((x) - (x position)) / ((y) - (y position)))::operators) + ((180) * <(y) < (y position)>))
I somewhat support this, it's convenient but not absolutely needed. I find it similar to the argument for exponents in scratch; there's always a way but there could be a better way.
- robodiskjokey
-
Scratcher
100+ posts
a [point towards x( ) y( ) block
It would be cool if there was a block that made the sprite point towards an x and y “place”You could do this
(Keep in mind this sprite can be called “Pos”
when green flag clicked
go to x: (100) y: (100)
hide
Then you can have
when green flag clicked
point towards [Pos v]
Though this is very un-efficient and I would like an alternative option.
Support!
- OatchiTheDog
-
Scratcher
2 posts
a [point towards x( ) y( ) block
when green flag clicked
turn cw (15) degrees
- tagrim123
-
Scratcher
500+ posts
a [point towards x( ) y( ) block
Define point to X: (x) Y: (y)
point in direction (([atan v] of (((y ::custom) - (y position)) / ((x ::custom) - (x position)))) - (90)
- mtaka4
-
Scratcher
100+ posts
a [point towards x( ) y( ) block
I support this suggestion.but why do you support?
______________________
Also, to anyone saying to use the workaround, it's not like it's obvious, and really easy.
- Discussion Forums
- » Suggestions
-
» a [point towards x( ) y( ) block














