Description

evalJS allows you to run ANY javascript code in a "sandboxed" enviroment.

Usage:
evalJS(javascript commands)

Returns:
The returned value of your javascript command - formated as a string (always!)
Logs an error to the web console when any error in the code occurs.

Example:

show_message(evalJS("  
    var test = function() {  
       return text = 2+2;  
    }  
    return test();  
"));  
//Returns "4"

Also check out my other assets!

End User Licence Agreement (EULA).

Required Modules

HTML5 Export

Version 1.0.0. Published August 5, 2014

Created with GameMaker: Studio v1.99.182

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

jian z 17 January 2017

Not working

No js included in the project!
The author should check and fix the problem, it is wasting other people's time!


Gravatar

Harvey B 22 February 2015

Compile Errors

Threw compile errors when I attempted to build. When I looked, I found that there is no "JavaScript" file or any file included in this download other than the .gmx. Gave three stars because it may not have been the authors fault and may be down to the marketplace being buggy,

Package contents

Total size 1.4 KB

What is the issue?

Back to Top