Hi, if I'm not mistaken this action serves to change the graphic cursor.
But do not anything, the cursor is the same of the windows.
What am I doing wrong?
Try,
On Start of Layout --> Set Cursor (none)
Every Tick --> Set NewCursor Position to Mouse.x, Mouse.Y
(NewCursor is the custom cursor your using, which is a separate sprite, change the name if you want)
I think this is what your asking.
From the manual:
Set cursor from sprite
Set the cursor image from a Sprite object. This is preferable to setting a sprite to the mouse co-ordinates, because the input lag is significantly lower. Various limitations apply: the sprite image is used as it appears in the image editor, not taking in to account size or rotation in the layout; the image cannot be too large (64x64 is usually the limit); and support varies depending on browser and OS.
https://www.scirra.com/manual/114/mouse
Also, here's Ashley's answer for this in a different topic:
quot-set-cursor-from-sprite-quot-doesn-039-t-work_p606372?#p606372
Develop games in your browser. Powerful, performant & highly capable.
I had already read the manual and see the limitations but the cursor still did not work, the object it is a sprite of 16 x 16.
In chrome, windows.
Then I suggest you make an example capx and fire a bug report. There might be something broken.
...the object it is a sprite of 16 x 16
it is really 16x16 or you set only in Properties panel to 16x16 ?
I just did a quick testing. It only works if you have the sprite you want to set already on your layout.
Thanks for the help but I can not change the icon of windows.
https://dl.dropboxusercontent.com/u/60803633/test3.capx
> ...the object it is a sprite of 16 x 16 > it is really 16x16 or you set only in Properties panel to 16x16 ?
> ...the object it is a sprite of 16 x 16
>
your sprite is 250x250px!!!!!
Resize your sprite
Ouch!!, ok, thanks!.