Discuss Scratch
- Discussion Forums
- » Suggestions
- » Move mouse pointer / set mouse pointer
- k0stya
-
Scratcher
50 posts
Move mouse pointer / set mouse pointer
esc key… I say we should have mouse modes.Please note: This is NOT rejected! (Or at least of time of creation). HIDING a mouse pointer is rejected, not moving it!No support. This makes the mouse move to places you don't want to how do you end the project if the mouse is constantly moving?
Suggestion
My suggestion is that we add this block:set mouse position to x: () y: () :: motion
I had this idea because of this topic (you don't need to read it, only if you are curious)
Functionality
It could be useful for “infinite scrolling games” in which you want to move your mouse to the far left of the stage, and then it goes to the right, such as it is in minecraft or other games.
If the values were a number in which the mouse pointer would go off the stage, it would only go to the edge of the stage.
Preventing Against Misuse
Someone might doforever
set mouse position to x: () y: () :: motion
end
which would make the mouse go to a certain position, right?
Well, first you can just close the project (ctrl+w) or you can press escape. Once you press escape, the project no longer has control of your mouse.
Pros:
Infinite scrolling (for 3d engines and whatnot)
A speed game (once you touch something your mouse goes back in the middle and then you have to touch it again)
Movement (Maybe where there are rooms, if you touch the edge of the screen it goes to the next room, and then it moves your cursor back so it doesn't do that a ton)
Cons:
Currently can't think of any.
- PizzaAddict4Life
-
Scratcher
1000+ posts
Move mouse pointer / set mouse pointer
esc key… I say we should have mouse modes.-snip, please don't quote the OP-No support. This makes the mouse move to places you don't want to how do you end the project if the mouse is constantly moving?
What do you mean by mouse modes?
- k0stya
-
Scratcher
50 posts
Move mouse pointer / set mouse pointer
So like project mode would be inside the project.esc key… I say we should have mouse modes.-snip, please don't quote the OP-No support. This makes the mouse move to places you don't want to how do you end the project if the mouse is constantly moving?
What do you mean by mouse modes?
Then browser mode, through the whole browser.
Then computer mode the whole pc.
Then infinite basically allows off scrolling.
- fdreerf
-
Scratcher
1000+ posts
Move mouse pointer / set mouse pointer
One of the reasons why hiding the cursor is rejected is because
In addition, they may cause confusion to users, wondering where the mouse pointer went.I think that also applies here.
- PizzaAddict4Life
-
Scratcher
1000+ posts
Move mouse pointer / set mouse pointer
One of the reasons why hiding the cursor is rejected is becauseIn addition, they may cause confusion to users, wondering where the mouse pointer went.I think that also applies here.
The suggestion isn't to “hide the cursor”, it is only to move it.
Also, I do realise that it could be confusing, and I don't like suggesting this but, maybe on the go screen you could have a little blurb saying:
This project uses mouse movement
If you want to disable mouse movement, press the escape key on your keyboard
- PizzaAddict4Life
-
Scratcher
1000+ posts
Move mouse pointer / set mouse pointer
Scratch runs in a browser, so it cannot move the mouse. It's impossible. It can, however, do this, which probably doesn't fall under the rejected suggestion because the browser tells you how to exit that mode.
That actually seems like a better solution, and easier. I was thinking the “Move mouse pointer” so something like that could be done, but that is cool.
- QX_
-
Scratcher
50 posts
Move mouse pointer / set mouse pointer
No support at all, not only would this be impossible for the Scratch team to add, as you can't control the mouse pointer on a website using javascript, but even if they could it would be a huge security problem.
- --Explosion--
-
Scratcher
1000+ posts
Move mouse pointer / set mouse pointer
Can a website actually move the mouse pointer? That could be ver dangerous…
- PizzaAddict4Life
-
Scratcher
1000+ posts
Move mouse pointer / set mouse pointer
Can a website actually move the mouse pointer? That could be ver dangerous…
I don't know actually, but this is really just a more complex way to what maximouse suggested, the mouse lock.
- Maximouse
-
Scratcher
1000+ posts
Move mouse pointer / set mouse pointer
Can a website actually move the mouse pointer? That could be ver dangerous…No, of course websites can't move the mouse. As I said above, they can lock it, but that would go into a different suggestion.
- Discussion Forums
- » Suggestions
-
» Move mouse pointer / set mouse pointer





