• Construct logoConstruct logo text
  • Products
    • Construct 3 logo
      Construct 3
      Create stunning games in the worlds best 2D game engine
    • Construct animate logo
      Construct Animate
      Produce gorgeous animations with drag-and-drop
    • Construct 3 logo
      Features What you get
    • Construct 3 logo
      FAQ Common questions
    • Construct 3 logo
      Releases See latest updates
    • Construct 3 logo
      Pricing Buy Animate now
    • Construct 3 logo
      Free Trial Try Animate now
    • Construct 3 logo
      Features What you get
    • Construct 3 logo
      Showcase Customer creations
    • Construct 3 logo
      FAQ Common questions
    • Construct 3 logo
      Addons Extend Construct
    • Construct 3 logo
      Releases See latest updates
    • Construct 3 logo
      Pricing Buy Construct now
    • Construct 3 logo
      Free Trial Try Construct now
  • Resources

    Construct 3

    • Manual Manual
    • Computer System requirements
    • Addons Scripting Overview
    • Addons Addon SDK

    Tutorials

    • Map Beginner's Guide
    • Web games Publishing to the Web
    • Android Build Android APKs
    • Apple Publishing to iOS
    • Performance Optimisations
    • Idea All tutorials

    Game Dev Courses

    • Bag Browse all game dev courses

    Construct Animate

    • Manual Manual
    • Computer System requirements
    • Idea Tutorials

    Construct 2 Deprecated

    • Download Download
    • Download NWJS
    • Manual Manual
    • SDK Javascript SDK
    • Idea Tutorials
  • Education

    Construct 3

    • Forum Why pick Construct 3
    • Download Free Resources
    • Security Privacy and Security
    • FAQ FAQ

    Deeper Dive

    • Classroom Setup Classrooms in Minutes
    • Manual World Class Docs
    • Bag Educational Pricing
    • Equity Tactics What we believe
    • Partners Partner Our global partners
  • Community

    Forums

    • Forum Forum Home
    • Messages Newest Topics

    Arcade

    • Trophy Top Games
    • Stars Newest Games
    • Committee Most Played Games
    • Group Most Online Players
    • Upload Upload a Game

    Blogs

    • Agreement Official Blog
    • Stars New Posts

    Social Media

    • Construct 3 Reddit
    • Construct 3 Twitter
    • Construct 3 Facebook
    • Construct 3 Mastodon
    • Construct 3 Youtube
  • Store

    Products

    • Bag Buy Construct 3
    • Bag Buy Construct Animate

    Assets

    • Plugin Addons
    • Tornado Animations
    • Book EBooks
    • Font Fonts
    • Game Games
    • Whale Graphics
    • Headphones Sounds
    • Puzzle Templates
    • Theme Themes
    • Grid Tilemaps
    • Tool Tools

    Discover

    • Calendar Newest Assets
    • Winner Best Selling
    • Trophy Highest Rated
    • OK Exclusives

    Special Offers

    • Bundle Asset Bundles
    • Bag Sale Items
  • Register Login
  • Construct logoConstruct logo text
        • Launch
          Features
        • TV
          Showcase
        • FAQ
          FAQ
        • Addons
          Addons
        • Release
          Releases
        • Pricing
          Pricing
        • Play
          Free Trial
        Right arrow
        • Launch
          Features
        • FAQ
          FAQ
        • Release
          Releases
        • Pricing
          Pricing
        • Play
          Free Trial
        Right arrow
        • Manual
          Manual
        • Settings
          System Requirements
        • Addons
          Scripting Overview
        • Code
          Addon SDK
        • Tutorials
          Tutorials
        • Right arrow Beginners Guide to Construct 3
        • Right arrow Publish Games to the Web
        • Right arrow Make Android Games
        • Right arrow Make iOS Games
        • Right arrow Optimise Your Games
        • Course
          Courses
        Right arrow
        • Manual
          Manual
        • Settings
          System Requirements
        • Tutorials
          Tutorials
        Right arrow
        • Download
          Download
        • Download
          NWJS
        • Manual
          Manual
        • Code
          Javascript SDK
        • Tutorials
          Tutorials
        Right arrow
      • Tutorials
        Tutorials
      • Webinar
        Courses
        • Questions
          Why Construct 3
        • Resources
          Resources
        • Security
          Privacy & Security
        • Classroom
          Classroom Setup
        • FAQ
          FAQ
        • Folder
          Documentation
        • Price
          Pricing
        Right arrow
      • Love
        Equity
      • Deal
        Partners
      • Browse
        Browse
      • Bundles
        Asset Bundles
      • Sale
        Sale Items
      • Best selling
        Best Selling
      • Downloads
        Your Downloads
      • Forum
        Discuss
      • Topics
        New Topics
      • Unanswered
        Unanswered Topics
      • Search
        Search
      • Arcade
        Play
      • Popular
        Popular
      • People
        Most Players
      • New
        New Games
      • Showcase
        Showcase
      • Dice
        Random Game
      • Official blog
        Official Blog
      • Game maker blogs
        Community Blogs
      • Community blogs
        New Posts
    • Contact Us
    • Register Login to account
  • Construct 3
  • Manual
  • System Requirements
  • Scripting Overview
  • Addon SDK
  • Tutorials
  • Courses
  • Construct 2 Docs

  • Construct 2
  • Construct 2 Javascript SDK
  • Home
  • SDK Documentation
    • Overview
    • Plugin settings
    • Actions, Conditions and Expressions
    • Properties
    • The Edit-time
    • Runtime overview
    • Runtime functions
    • ACE implementations
    • .c2addon packages
  • SDK Reference
    • Runtime
    • Layout
    • Layer
    • Object type
    • Instances
    • cr functions
Search this manual
  • Download Manual Download Download as PDF
  • Construct 2
  • Construct 2 Javascript SDK
  • Home
  • SDK Documentation
    • Overview
    • Plugin settings
    • Actions, Conditions and Expressions
    • Properties
    • The Edit-time
    • Runtime overview
    • Runtime functions
    • ACE implementations
    • .c2addon packages
  • SDK Reference
    • Runtime
    • Layout
    • Layer
    • Object type
    • Instances
    • cr functions
Construct 2 has been officially retired. Now you should upgrade to Construct 3.
View Construct 3 Docs What's new in Construct 3?

Javascript SDK for Construct 2

This section covers what you need to know about using the Javascript SDK for Construct 2.

Construct 2 Javascript SDK Manual Construct.net 2020-06-04 2020-06-04

You are here:

  • Online Manuals Next
  • Construct 2 Documentation Next
  • SDK Documentation Next

Search this manual:

Search this manual
Community Help Contact Us
This manual entry was last updated on 4 Jun, 2020 at 15:30

On this page

Scirra Ltd

Your Location

Xianggang/Hong Kong

Products

  • Game Making Software
  • Animation Software

Construct 3

  • GameMaker Alternative
  • Make Your Own Game
  • Pricing
  • Documentation
  • FAQ
  • Case Studies

Education

  • Why Construct 3
  • Easy Seat Management
  • Free Teaching Resources
  • Learn Javascript
  • Partners
  • Pricing
  • FAQ

Affiliates

  • Affiliate Program

Our Company

  • About Us
  • Our Team
  • Press Kit
  • In the Press
  • Contact Us

Community

  • Game Assets
  • GameDev Forum
  • GameDev Tutorials
  • GameDev Blogs
  • Free Online Arcade
  • Community Guidelines

Scirra Ltd

  • Studio 414, The Lightbulb
  • 1 Filament Walk
  • Wandsworth
  • London
  • SW18 4GQ
  • United Kingdom
  • Company number: 07626452
  • VAT registration: GB138656875
  • Construct 3 Reddit
  • Construct 3 Twitter
  • Construct 3 Facebook
  • Construct 3 Mastodon
  • Construct 3 Youtube

Legal

  • Terms and Conditions
  • Privacy Policy
  • Children's Code
Monkey
© Scirra Ltd 2024 • All rights reserved v1376 • PRD-VM-WEB2a