-
Notifications
You must be signed in to change notification settings - Fork 0
Inputs
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 + "!")
}
}
}
Join our discord server for any support or questions that you need answered!
Link: