Document calling GDScript code from JavaScript

Open Beginner friendly
#7,456 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Start with the existing web-export documentation at tutorials/export/exporting_for_web.html and review the linked proposal, pull request, and web progress report for the intended JavaScript-to-GDScript interaction. Add documentation covering how to call GDScript code from JavaScript, with examples consistent with the existing page and referenced implementation.

Written by the indexing model from the issue text.

Description

area:manual enhancement

Your Godot version: 4.0.3

Issue description: Calling JavaScript code from GDScript is currently documented, but calling GDScript code from JavaScript isn't.

See https://github.com/godotengine/godot-proposals/issues/1852, its associated pull requests and https://godotengine.org/article/godot-web-progress-report-9/.

URL to the documentation page (if already existing): https://docs.godotengine.org/en/latest/tutorials/export/exporting_for_web.html

Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
7d 14h
Merged PRs (30d)
41

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from godotengine/godot-docs

All issues in godotengine/godot-docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.