Discuss Scratch

kelvinkelvin2015
Scratcher
66 posts

is it possible to detect right-mouse click

well,I am making on a rpg game, and i want to have a secondary attack button. i have seen projects with right-mouse detecting,like paper minecraft,but I just can't find the code for it.Can anyone help?
hamsteroftheparkour
Scratcher
100+ posts

is it possible to detect right-mouse click

might be an old, removed, block
N8_D_GR8_1
Scratcher
1000+ posts

is it possible to detect right-mouse click

kelvinkelvin2015 wrote:

well,I am making on a rpg game, and i want to have a secondary attack button. i have seen projects with right-mouse detecting,like paper minecraft,but I just can't find the code for it.Can anyone help?
It looks like that feature was removed after version 1.x. See this wiki article: https://en.scratch-wiki.info/wiki/Right_Mouse_Detection
kelvinkelvin2015
Scratcher
66 posts

is it possible to detect right-mouse click

Then how did paper Minecraft did it??
N8_D_GR8_1
Scratcher
1000+ posts

is it possible to detect right-mouse click

kelvinkelvin2015 wrote:

Then how did paper Minecraft did it??
Maybe it had that feature in scratch 1.x, but it doesn't have that feature now. You can see for yourself.
kelvinkelvin2015
Scratcher
66 posts

is it possible to detect right-mouse click

N8_D_GR8_1 wrote:

kelvinkelvin2015 wrote:

Then how did paper Minecraft did it??
Maybe it had that feature in scratch 1.x, but it doesn't have that feature now. You can see for yourself.
Oh yeah, I forgot I was still using an old remix version (that was made for 1.4)of it.thx!

Last edited by kelvinkelvin2015 (Nov. 1, 2025 07:11:30)

Powered by DjangoBB