View a comprehensive history of all the new Javascript scripting feature updates and changes Construct Animate since the first release.
        
    
        
                
                
        
            
            
                
                    
                            
                                
                                
                                    Add IPhysicsBehaviorInstance method setCollisionFilter()
                                
                             
                        
                            
                                
                                
                                    Allow passing any string iterable for IInstance setAllTags()
                                
                             
                        
                            
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Fix some TypeScript type definitions
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Add IAssetManager property 'projectFileList'
                                
                             
                        
                            
                                
                                
                                    Fix editing 'Imports for events' script not always immediately updating for scripts in event sheets
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Fix error in 'Instance destroyed event' TypeScript example
                                
                             
                        
                            
                                
                                
                                    Fix WebGPU error using drawMesh() with odd number of index triplets
                                
                             
                        
                            
                                
                                
                                    Return boolean global/local variables as actual booleans rather than a number
                                
                             
                        
                            
                                
                                
                                    Ensure "loadingprogress" event fires even for empty projects
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Add I9PatchInstance method replaceImage()
                                
                             
                        
                            
                                
                                
                                    Make I9PatchInstance margin values settable
                                
                             
                        
                            
                                
                                
                                    Add I9PatchInstance properties 'edges', 'fill', 'seams'
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Add I9PatchInstance script interface
                                
                             
                        
                            
                                
                                
                                    Add IRuntime events "window-maximized", "window-minimized"
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Fix IRuntime isPixelRoundingEnabled to be settable and update correctly
                                
                             
                        
                            
                                
                                
                                    Tweens: make sure stopping a tween with script API works similarly to corresponding events
                                
                             
                        
                            
                                
                                
                                    Tweens: add a released promise to the scripting API to detect when a tween is destroyed
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Fix IRenderer getCurrentZ() not working
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Add I3DShapeInstance property isBackFaceCulling
                                
                             
                        
                            
                                
                                
                                    Fix "before/afterdraw" events not always being fired for 3D or empty layers
                                
                             
                        
                            
                                
                                
                                    Fix "before/afterdraw" events sometimes having leftover state from prior rendering
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Add IRenderer set/getCullFaceMode(), set/getFrontFaceWinding()
                                
                             
                        
                            
                                
                                
                                    Fix possible incorrect error message when an error is found in 'Imports for events' script
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Fix possible incorrect rendering after drawMesh() (regression r441)
                                
                             
                        
                            
                                
                                
                                    Add missing TypeScript definitions for IRuntime events "pretick", "tick2"
                                
                             
                        
                            
                                
                                
                                    Internationalization: add createContext() method returning I18NLookupContext
                                
                             
                        
                            
                                
                                
                                    Fix error calling ILayout getVanishingPoint()
                                
                             
                        
                            
                                
                                
                                    Add ILayout isUnboundedScrolling
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Add ILayout and ILayer property 'runtime'
                                
                             
                        
                            
                                
                                
                                    Add ILayer events 'beforedraw', 'afterdraw'
                                
                             
                        
                            
                                
                                
                                    Add IRenderer method createStaticTexture()
                                
                             
                        
                            
                                
                                
                                    Add IRuntime property 'renderer'
                                
                             
                        
                            
                                
                                
                                    Add optional colorArr parameter to drawMesh() for per-vertex colors
                                
                             
                        
                            
                                
                                
                                    Add IRenderer methods quad5(), quad3D3() for per-vertex colors
                                
                             
                        
                            
                                
                                
                                    Add Internationalization plugin script interface
                                
                             
                        
                            
                                
                                
                                    TypeScript: add missing type definitions for "hierarchyready" event
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Add IFileChooserInstance property 'isEnabled'
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Add IRuntime "loadingprogress" event
                                
                             
                        
                            
                                
                                
                                    Use separate IObjectType and IFamily script interfaces (instead of IObjectClass for both)
                                
                             
                        
                            
                                
                                
                                    Add IObjectType getAllFamilies(), families(), isInFamily()
                                
                             
                        
                            
                                
                                
                                    Add IFamily getAllObjectTypes(), objectTypes(), hasObjectType()
                                
                             
                        
                 
             
         
    
            
                
                
        
            
            
                
                    
                            
                                
                                
                                    Add File Chooser script interface
                                
                             
                        
                            
                                
                                
                                    Fix type definition for I3DShapeInstance 'shape' property