Skip to content
KerbalMissile edited this page Mar 13, 2026 · 3 revisions

Nova adds the capability for inputs by doing a simple ask() line of code.

The line of code can both be used in a GUI or a console, if used in consoles it will simply just ask the question. In a GUI it must be within a button() { . . . } and not outside, or else it will just ask in the console.

Console Example: have name = ask(What's your name?")

put("Hello, " + name + "!")

GUI Example:

ui_window("Ask Demo", 320, 180) {

button("Enter Name", 20, 40) {

clicked() {

have name = ask("Enter your name:")

ui_message("Nice to meet you, " + name + "!")

}

}

}

Nova Link Sidebar

Built-in Functions & Utilities

Math & Numbers

Variables & Data Types:

Loops & Conditionals:

File Reading & Writing

GUI & Event Handlers

Nova Tools

Inputs

Compiler & Interpreter

VS Code Extension

Clone this wiki locally