MCPcopy Create free account
hub / github.com/phaserjs/phaser / SetScale

Function SetScale

src/actions/SetScale.js:32–39  ·  view source on GitHub ↗
(items, scaleX, scaleY, stepX, stepY, index, direction)

Source from the content-addressed store, hash-verified

30 * @return {(array|Phaser.GameObjects.GameObject[])} The array of objects that were passed to this Action.
31 */
32var SetScale = function (items, scaleX, scaleY, stepX, stepY, index, direction)
33{
34 if (scaleY === undefined || scaleY === null) { scaleY = scaleX; }
35
36 PropertyValueSet(items, 'scaleX', scaleX, stepX, index, direction);
37
38 return PropertyValueSet(items, 'scaleY', scaleY, stepY, index, direction);
39};
40
41module.exports = SetScale;

Callers 1

SetScale.test.jsFile · 0.85

Calls 1

PropertyValueSetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…