I hacked scratch and went to Scratch-blocks >> ComandBlockMorph >> Private >> UncoloredArgMorphFor and then edited to code for:""" $k = t2 ifTrue: [^ ChoiceArgMorph new getOptionsSelector: #keyNames;choice: 'space']. """ so that it said:""" $k = t2 ifTrue: [^ ChoiceOrExpressionArgMorph new getOptionsSelector: #keyNames;choice: 'space'].
Comments
You need to be logged in to post comments
Add a Comment
The way you did this is absolutely awesome! How did you get the Key variable to attach on the Key Pressed block?
Thnxs
I hacked scratch and went to Scratch-blocks >> ComandBlockMorph >> Private >> UncoloredArgMorphFor and then edited to code for:""" $k = t2 ifTrue: [^ ChoiceArgMorph new getOptionsSelector: #keyNames;choice: 'space']. """ so that it said:""" $k = t2 ifTrue: [^ ChoiceOrExpressionArgMorph new getOptionsSelector: #keyNames;choice: 'space'].
(view all replies)