int64 MoveSprite(string, string, int, int, int, string)

Moves a sprite onto and around a view.


Trust Level Required: Full Trust


Name Description
callbackName string
The name of a callback on your page that you would like KioWare to call when complete.
spriteId string
The target sprite.
viewInd int
The zero-based index of the target view. If the sprite is not located on the requested view, it will be moved there.
x int
The x coordinate; oriented from the left side of the display.
y int
The y coordinate; oriented from the top of the display.
devName (Optional) string
Optional device name from the Config Tool. Default value: null.


The queue id number, or 0.


The viewInd is a zero-based index relative to the order of views passed to CreateViews. Each sprite is it's own entity; in other words, they may only be on one view at a time.


if(!KioTouchDevice.MoveSprite(null, 'LeftMenu', 0, 0, 0))


KioWare for Windows version 8.18 or greater.