mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-20 18:29:57 -04:00
Include costume data in sprite info reports
Also emit the report on all costume changes
This commit is contained in:
parent
3989959ebf
commit
ce17fdbd30
2 changed files with 10 additions and 0 deletions
src/engine
|
@ -734,6 +734,7 @@ Runtime.prototype.spriteInfoReport = function (target) {
|
|||
x: target.x,
|
||||
y: target.y,
|
||||
direction: target.direction,
|
||||
costume: target.getCurrentCostume(),
|
||||
visible: target.visible,
|
||||
rotationStyle: target.rotationStyle
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue