Discuss Scratch

Luidenka
Scratcher
18 posts

Backspace blocks and delete blocks

Hi,
how to detect backspace and delete blocks?
i'm in windows
TheAnomalousPseudo
Scratcher
1000+ posts

Backspace blocks and delete blocks

To delete blocks, either drag them into the block palette or right-click and select “Delete” in the dropdown menu.

It is impossible to detect backspace.
Yusei-Fudo
Scratcher
1000+ posts

Backspace blocks and delete blocks

TheAnomalousPseudo wrote:

To delete blocks, either drag them into the block palette or right-click and select “Delete” in the dropdown menu.

It is impossible to detect backspace.

Or, you can just click on the block and press the backspace to delete it (Works for me). Also, technically, detecting backspace is possible, just not possible on Scratch

Last edited by Yusei-Fudo (May 22, 2021 19:23:30)

Luidenka
Scratcher
18 posts

Backspace blocks and delete blocks

No, I mean how to detect the backspace key or delete key
My bad
dhuls
Scratcher
1000+ posts

Backspace blocks and delete blocks

You can't detect backspace, delete, CTRL, ALT, SHIFT, F1-F12, and ENTER with Scratch.
Luidenka
Scratcher
18 posts

Backspace blocks and delete blocks

oh…
han614698
Scratcher
1000+ posts

Backspace blocks and delete blocks

dhuls wrote:

You can't detect backspace, delete, CTRL, ALT, SHIFT, F1-F12, and ENTER with Scratch.
You can detect enter,
<key (join [enter] []) pressed?>
Yusei-Fudo
Scratcher
1000+ posts

Backspace blocks and delete blocks

dhuls wrote:

You can't detect backspace, delete, CTRL, ALT, SHIFT, F1-F12, and ENTER with Scratch.

han614698 wrote:

dhuls wrote:

You can't detect backspace, delete, CTRL, ALT, SHIFT, F1-F12, and ENTER with Scratch.
You can detect enter,
<key (join [enter] []) pressed?>
Yeah. You can detect enter.

List of keys that shouldn't be able to be detected as of Scratch currently:
  • tab
    search/caps lock
    shift
    ctrl
    alt
    backspace
    keys above the row of numbers
Unithlees3
Scratcher
1000+ posts

Backspace blocks and delete blocks

It is impossible to detect backspace
eli_codetest
Scratcher
29 posts

Backspace blocks and delete blocks

Unithlees3 wrote:

It is impossible to detect backspace
This is not true; if you hold down a block with your mouse and then type the backspace key, the block will disappear.
dhuls
Scratcher
1000+ posts

Backspace blocks and delete blocks

eli_codetest wrote:

Unithlees3 wrote:

It is impossible to detect backspace
This is not true; if you hold down a block with your mouse and then type the backspace key, the block will disappear.
That is not what he meant at all. He meant detecting it in a Scratch project.
EvanD2008
Scratcher
100+ posts

Backspace blocks and delete blocks

Luidenka wrote:

how to detect backspace?
Try
<key (join [backspace] []) pressed?>
; not sure if it will work.
Yusei-Fudo
Scratcher
1000+ posts

Backspace blocks and delete blocks

EvanD2008 wrote:

Luidenka wrote:

how to detect backspace?
Try
<key (join [backspace] []) pressed?>
; not sure if it will work.

no –_–

Powered by DjangoBB