Kongregate Developers

Note: This feature will not function unless we have enabled it for your game. If you would like to have this feature enabled, please email us at apps@kongregate.com.

Resizing the enclosing iframe

If you need to resize your game's enclosing container, you may do so with resizeGame call. The enclosing iframe will resize around your game. Games may not be resized smaller than their initial dimensions.

resizeGame(x:Number, y:Number):void
kongregate.services.resizeGame(900, 650);