Playlab go to xy

Necessary for animation in MSM (particularly quadratic motion and nonlinear acceleration). I don’t expect this
block to be used directly by students (at least not in any of our
current courses).
No you're right. Let's just check it in how you had it before (with
unlocalized to) and a comment somewhere saying it's not mean to be user
visible and will need to be loc'ed if we want it to be.  Thanks!

On Fri, Dec 5, 2014 at 6:03 PM, Josh Caldwell <notifications@github.com>
wrote:

> In blockly/src/studio/blocks.js:
>
> > @@ -580,6 +580,48 @@ exports.install = function(blockly, blockInstallOptions) {
> >        name: 'setSpritePosition'});
> >    };
> >
> > +  blockly.Blocks.studio_setSpriteXY = {
> > +    // Block for jumping a sprite to specific XY location.
> > +    helpUrl: '',
> > +    init: function() {
> > +      this.setHSV(184, 1.00, 0.74);
> > +      if (spriteCount > 1) {
> > +        this.appendValueInput('SPRITE')
> > +          .setCheck('Number')
> > +          .appendTitle(msg.moveSpriteN({spriteIndex: ''}));
> > +      } else {
> > +        this.appendDummyInput()
> > +          .appendTitle(msg.setSprite());
> > +      }
> > +      this.appendDummyInput()
> > +        .appendTitle('to');
>
> Tried "moveSpriteNTo" but it doesn't look right with an actor param (maybe
> I'm doing something wrong)
> [image: screenshot 2014-12-05 17 57 27]
> <https://cloud.githubusercontent.com/assets/2744615/5325712/df1fdb56-7ca8-11e4-90c0-2de25186e062.png>
>
> alternate idea with localized string "toXY"
> [image: screenshot 2014-12-05 18 00 40]
> <https://cloud.githubusercontent.com/assets/2744615/5325718/0b6e217c-7ca9-11e4-807e-1249904ce2ed.png>
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/code-dot-org/code-dot-org/pull/708/files#r21413104>.
>