# A bug? fillcolor and fillAlpha cannot be set correctly by this.add

**URL:** <https://phaser.discourse.group/t/a-bug-fillcolor-and-fillalpha-cannot-be-set-correctly-by-this-add/14011>\
**Category:** Phaser 3\
**Created:** [February 19, 2024, 1:01pm UTC](https://phaser.discourse.group/t/a-bug-fillcolor-and-fillalpha-cannot-be-set-correctly-by-this-add/14011 "2024-02-19T13:01:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![QuantumTopology](https://avatars.discourse-cdn.com/v4/letter/q/94ad74/32.png) [@QuantumTopology](https://phaser.discourse.group/u/QuantumTopology)\
**Post date:** [February 19, 2024, 1:01pm UTC](https://phaser.discourse.group/t/a-bug-fillcolor-and-fillalpha-cannot-be-set-correctly-by-this-add/14011/1 "2024-02-19T13:01:00Z")

</div>

For example:

```javascript
let line = this.add.line(null, null, 500, 500, 800, 400, 0xff0000 , 1);
    //circle([x], [y], [radius], [fillColor], [fillAlpha])
    let circle = this.add.circle(200, 200, 50, 50, 0xff0000, 1);
    //circle.fillAlpha = 1;
    //circle.fillColor = 0xff0000;
    circle.isStroked = true;
    circle.strokeColor = 0xff0000;
    console.log(circle);

```

I get something like this

 ![image](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/2/2b12d7724e901e2a1e73b78ecde7120e8c56d3cf.png)

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [February 19, 2024, 5:33pm UTC](https://phaser.discourse.group/t/a-bug-fillcolor-and-fillalpha-cannot-be-set-correctly-by-this-add/14011/2 "2024-02-19T17:33:46Z")

</div>

The circle arguments look wrong.

---

<div class="post-metadata">

**Author:** ![QuantumTopology](https://avatars.discourse-cdn.com/v4/letter/q/94ad74/32.png) [@QuantumTopology](https://phaser.discourse.group/u/QuantumTopology)\
**Post date:** [February 19, 2024, 9:11pm UTC](https://phaser.discourse.group/t/a-bug-fillcolor-and-fillalpha-cannot-be-set-correctly-by-this-add/14011/3 "2024-02-19T21:11:52Z")

</div>

Oh, sorry. I did’n notice that I gave it too many arguments.
