Search code examples
smartface.io

Global page in smartface


I am new in the smartface and I saw Faruk's video yesterday. In the video I saw a page name of which is "Global" contains some variables created automatically when one write some text in the text area of an object. But I could not find a page like that (Global). How can I open that page in order to declare some variables?

I get some errors on debugging as I cannot declare variables that I named them writting their names without quotes in the text attribute of the object.


Solution

  • You can find it in the ~/[your_project_name]_data/Script/ folder.

    By the way, if you use version 4.3.x, the file name is Global_Smartface.js.