Discuss Scratch

ing_bio
Scratcher
5 posts

Is it possible to embed an external link in a Scratch game to make it more interactive?

For instance if I want the player to click in an object that brings him to a website in a new tab. Would that be possible?
Chiroyce
Scratcher
1000+ posts

Is it possible to embed an external link in a Scratch game to make it more interactive?

No, because there is no such block that can do this.
There would also be a lot of privacy concerns, like tabs just randomly popping out.
Someone can even do this
when green flag clicked
forever
open [https://www.youtube.com/watch?v=dQw4w9WgXcQ] in a new tab :: control
end
Which will lag out a person's computer.
han614698
Scratcher
1000+ posts

Is it possible to embed an external link in a Scratch game to make it more interactive?

Not possible on Scratch,
But on snap!
go+to+website+(url) :: control hat
run (JavaScript function\( [url] @delInput @addInput \) \{ [window.open(url);] \} :: operators) with inputs (url) @delInput @addInput :: control
Chiroyce
Scratcher
1000+ posts

Is it possible to embed an external link in a Scratch game to make it more interactive?

han614698 wrote:

Not possible on Scratch,
But on snap!

The title of this topic wrote:

Is it possible to embed an external link in a Scratch game to make it more interactive?
Jawsomedude1
Scratcher
44 posts

Is it possible to embed an external link in a Scratch game to make it more interactive?

You can however put a link in the form of a comment in the script area if you want, though it won’t take them to a website or anything. You can also tell them to go to a website in the instructions.
ing_bio
Scratcher
5 posts

Is it possible to embed an external link in a Scratch game to make it more interactive?

Chiroyce wrote:

No, because there is no such block that can do this.
There would also be a lot of privacy concerns, like tabs just randomly popping out.
Someone can even do this
when green flag clicked
forever
open [https://www.youtube.com/watch?v=dQw4w9WgXcQ] in a new tab :: control
end
Which will lag out a person's computer.
I don't see that option in my options menu :-(
TheGlassPenguin
Scratcher
1000+ posts

Is it possible to embed an external link in a Scratch game to make it more interactive?

ing_bio wrote:

Chiroyce wrote:

No, because there is no such block that can do this.
There would also be a lot of privacy concerns, like tabs just randomly popping out.
Someone can even do this
when green flag clicked
forever
open [https://www.youtube.com/watch?v=dQw4w9WgXcQ] in a new tab :: control
end
Which will lag out a person's computer.
I don't see that option in my options menu :-(
….because it doesn't exist.
For an answer to your question, you could make a list, put the link in the list, and tell the user to copy and paste the link into a new browser tab.
Austinato
Scratcher
1000+ posts

Is it possible to embed an external link in a Scratch game to make it more interactive?

As Chiroyce said above, if this feature existed then people can do bad things with it.

If you really want to share links within your project, you can do what TheGlassPenguin suggested:

TheGlassPenguin wrote:

…you could make a list, put the link in the list, and tell the user to copy and paste the link into a new browser tab.

Otherwise, you can just paste the link elsewhere (in the description or the comments.)

Before you share these links, make sure they don't link to inappropriate sites, chatrooms, live-editing (i.e. Google Docs, collaborative drawing), or any other potentially-risky sites.

Powered by DjangoBB