# Animated tilemap plugin not working - phasers / plugins or my fault?

**URL:** <https://phaser.discourse.group/t/animated-tilemap-plugin-not-working-phasers-plugins-or-my-fault/2340>\
**Category:** Phaser 3\
**Created:** [May 3, 2019, 9:32pm UTC](https://phaser.discourse.group/t/animated-tilemap-plugin-not-working-phasers-plugins-or-my-fault/2340 "2019-05-03T21:32:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jppresents](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/jppresents/32/1266_2.png) [@jppresents](https://phaser.discourse.group/u/jppresents)\
**Post date:** [May 3, 2019, 9:32pm UTC](https://phaser.discourse.group/t/animated-tilemap-plugin-not-working-phasers-plugins-or-my-fault/2340/1 "2019-05-03T21:32:16Z")

</div>

I am trying to use the animated tilemap plugin: [https://github.com/nkholski/phaser-animated-tiles](https://github.com/nkholski/phaser-animated-tiles)  
(even referenced by a photonstorm blog entry: [https://phaser.io/news/2018/03/phaser-3-animated-tiles-plugin](https://phaser.io/news/2018/03/phaser-3-animated-tiles-plugin))

I try to import it this way:

in my preload():

```
    this.load.plugin('AnimatedTiles', 'lib/AnimatedTiles.min.js');

```

and in the create():

```
  (<any>this.sys).install('AnimatedTiles');

```

This runs into:

```
Uncaught TypeError: this.plugins.installLocal is not a function
install phaser.js:41009
Gameplay.create Game.ts:131
create phaser.js:81071
loadComplete phaser.js:80984
emit phaser.js:2337
loadComplete phaser.js:120224
fileProcessComplete phaser.js:120190
onProcessComplete phaser.js:4505
data.onload phaser.js:11129
Async call from load

```

Is this a phaser3 bug?  
Does anyone have this plugin up and running?

My phaser Info:

```
 Test / Phaser v3.16.2 (WebGL | Web Audio) https://phaser.io
```

---

<div class="post-metadata">

**Author:** ![Lupo](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/lupo/32/4808_2.png) [@Lupo](https://phaser.discourse.group/u/Lupo)\
**Post date:** [April 12, 2023, 4:58pm UTC](https://phaser.discourse.group/t/animated-tilemap-plugin-not-working-phasers-plugins-or-my-fault/2340/2 "2023-04-12T16:58:04Z")

</div>

i have currently the same issue using webpack - i used this plugin a couple years ago already and it worked fine - dunno what i’m doing wrong.
