HabboAPI Documentation

Furni States

Furniture States works the same way as directions. They are used to set the state of the furni. A furniture state, is for example when you double click a Fire Dragon in Habbo, and it changes from idle to blowing fire. Some furniture got different states and we return those with the Endpoint Response. Each state comes with a state image, to make it even easier for you. You can also use state as a URL Parameter, when requesting a furni.

The example below, will get the furniture with the code rare_dragonlamp, in it's second state.


Not all furniture got different states. In fact, most furniture got no states, but if they are there, they are nice to show. Hopefully, we can add Animations in the future. That will allow thew Fire Dragon animation to work, in state 2.

How do I use it?

It's pretty simple. You keep the returned state_id's in a PHP Array, for example. Then you use Javascript or jQuery, to update the element url with the provided state_id's, on a click event. You can also run this in interval, so it will change automaticly with seconds apart.

You can browse Google for examples, make it yourself or check this Stackoverflow question, that provide at fully working example: Shuffle through an Array on button click.