Discuss Scratch

Animationzplus
New Scratcher
1 post

Support for shift+enter key sensing

iTweak0r wrote:

Centrifugal wrote:

Pretty much summed up in the title… would probably look like this
<key [shift v] pressed>
<key [enter v] pressed>

That would be nice! What about
<caps lock is on?>
boolean block
jonsonfan
Scratcher
100+ posts

Support for shift+enter key sensing

support i was also gonna do this
Cheetozpuffs
Scratcher
2 posts

Support for shift+enter key sensing

Name a variable hi, and set the variable to “enter” and do

if <key pressed?> then

end
MarsChompsVenus
Scratcher
96 posts

Support for shift+enter key sensing

Um. You can detect the enter key already.
Cheetozpuffs
Scratcher
2 posts

Support for shift+enter key sensing

MarsChompsVenus wrote:

Um. You can detect the enter key already.
cap
nikky10000000
Scratcher
500+ posts

Support for shift+enter key sensing

Cheetozpuffs wrote:

MarsChompsVenus wrote:

Um. You can detect the enter key already.
cap
Im not sure but i think
when (join [enter] []) key pressed
Actually works.

Last edited by nikky10000000 (Dec. 4, 2024 22:54:05)

Oisthebestletter
Scratcher
100+ posts

Support for shift+enter key sensing

TheScratchGuru wrote:

I think we should also add Control, Alt,and Backspace to that list also.
Support for Shift, Enter, Ctrl, and alt but I think backspace would mess things up.
MarsChompsVenus
Scratcher
96 posts

Support for shift+enter key sensing



Oisthebestletter wrote:

TheScratchGuru wrote:

I think we should also add Control, Alt,and Backspace to that list also.
Support for Shift, Enter, Ctrl, and alt but I think backspace would mess things up.


Why would backspace mess things up? If you're talking about deleting blocks in the editor just make it so that t doesn't do that if the mouse was last clicked in the game window.

And seriously, you can detect enter. Don't believe me? Go to https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1050231617/, run the project, type something on your keyboard, wait until the thing stops typing, and press enter. It doesn't use scratch's
ask [] and wait
Block. Yes, this project is mine but I'm not posting it to get views.

Last edited by MarsChompsVenus (Dec. 5, 2024 03:09:10)

Oisthebestletter
Scratcher
100+ posts

Support for shift+enter key sensing

MarsChompsVenus wrote:

Oisthebestletter wrote:

TheScratchGuru wrote:

I think we should also add Control, Alt,and Backspace to that list also.
Support for Shift, Enter, Ctrl, and alt but I think backspace would mess things up.

Why would backspace mess things up? If you're talking about deleting blocks in the editor just make it so that t doesn't do that if the mouse was last clicked in the game window.
Oh, ok. Would be great for a text editor.

Powered by DjangoBB