# setTint is not work when game config's type is Phaser.CANVAS

**URL:** <https://phaser.discourse.group/t/settint-is-not-work-when-game-configs-type-is-phaser-canvas/7274>\
**Category:** Phaser 3\
**Created:** [August 26, 2020, 7:52am UTC](https://phaser.discourse.group/t/settint-is-not-work-when-game-configs-type-is-phaser-canvas/7274 "2020-08-26T07:52:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wanghonghonghong](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/wanghonghonghong/32/3716_2.png) [@wanghonghonghong](https://phaser.discourse.group/u/wanghonghonghong)\
**Post date:** [August 26, 2020, 7:52am UTC](https://phaser.discourse.group/t/settint-is-not-work-when-game-configs-type-is-phaser-canvas/7274/1 "2020-08-26T07:52:58Z")

</div>

I recently encountered a problem.  
When I run a phaser game and the game config type is Phaser.CANVAS,  
the gameobject.image.setTint function is not work.  
But it works ok on the game config type is Phaser.WEBGL.

Now, we must run the game on some old computers that only support CANVAS,  
is there any solution???

---

<div class="post-metadata">

**Author:** ![hcakar](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/hcakar/32/459_2.png) [@hcakar](https://phaser.discourse.group/u/hcakar)\
**Post date:** [August 26, 2020, 8:22am UTC](https://phaser.discourse.group/t/settint-is-not-work-when-game-configs-type-is-phaser-canvas/7274/2 "2020-08-26T08:22:32Z")

</div>

Hi @wanghonghonghong, as far as i know tinting is only avaliable for WEBGL.

> [@wanghonghonghong](#):
>
> Now, we must run the game on some old computers that only support CANVAS,  
> is there any solution???

I don’t think there is one but use of different pngs…

---

<div class="post-metadata">

**Author:** ![wanghonghonghong](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/wanghonghonghong/32/3716_2.png) [@wanghonghonghong](https://phaser.discourse.group/u/wanghonghonghong)\
**Post date:** [August 26, 2020, 8:40am UTC](https://phaser.discourse.group/t/settint-is-not-work-when-game-configs-type-is-phaser-canvas/7274/3 "2020-08-26T08:40:40Z")

</div>

OK， thank you , I can only change the way.
