1. Home
  2. /
  3. Catscript Typing Test
  4. /
  5. Simple CATScript to Create a Point

Simple CATScript to Create a Point - Catscript Typing CST Test

Skip to main content
CodeSpeedTest
Languages
Start TypingJump into a test — pick any languageAdaptive TrainingUnlock chars as you master themPractice DrillsFocused sessions targeting weak spotsDaily ChallengesNew coding challenges every dayRace ModeCompete against others in real timeAI OpponentRace against an AI at your WPM levelTournamentsLive coding speed tournamentsArcade GamesZType, Overkill Survival, Glyphica & moreGamificationXP, coins, badges & quests
LeaderboardGlobal rankings for every languageCertificatesEarn verifiable Bronze / Silver / Gold certsActivityDaily streaks & historical analyticsProfileYour stats, badges & achievements
Browse Languages500+ languages with real code examplesBlogTips, guides & deep divesFree ToolsWPM calculator, typing speed report & moreFAQCommon questions answeredGetting StartedNew to CodeSpeedTest?AboutOur story & missionSupportGet help — Pro users get priorityContactGet in touch with the team
Pricing
Mode:
Duration:
1
2
3
4
5
6
7
8
9
Dim partDoc As PartDocument
Set partDoc = CATIA.ActiveDocument
Dim part As Part
Set part = partDoc.Part
Dim hybridShapeFactory As HybridShapeFactory
Set hybridShapeFactory = part.HybridShapeFactory
Dim point As HybridShapePointCoord
Set point = hybridShapeFactory.AddNewPointCoord(10, 20, 30)
part.Update
Coding works best on desktop or with an external keyboard.
CodeSpeedTest

Improve your coding speed, code accuracy, and programming syntax WPM with practice sessions across 500+ programming languages.

Quick Links

HomeAboutFeaturesGetting StartedLanguages

Legal & Support

Pro ⚡ PricingContactPrivacy PolicyTerms of Service

Connect

CodeSpeedTest on GitHubCodeSpeedTest on TwitterEmail CodeSpeedTest

© 2026 CodeSpeedTest. All rights reserved.

Simple CATScript to Create a Point — Catscript Code

A basic CATScript that creates a point at specific coordinates in a part document.

Dim partDoc As PartDocument
Set partDoc = CATIA.ActiveDocument
Dim part As Part
Set part = partDoc.Part
Dim hybridShapeFactory As HybridShapeFactory
Set hybridShapeFactory = part.HybridShapeFactory
Dim point As HybridShapePointCoord
Set point = hybridShapeFactory.AddNewPointCoord(10, 20, 30)
part.Update

Catscript Language Guide

CatScript is a lightweight, interpreted scripting language designed for creative coding, educational purposes, and playful programming projects. It emphasizes simplicity, fun, and accessibility for beginners while supporting modular scripts and animations.

Primary Use Cases

  • ▸Teaching programming to beginners
  • ▸Simple animations and games
  • ▸Interactive storytelling
  • ▸Prototyping creative apps
  • ▸Educational coding platforms

Notable Features

  • ▸Simple syntax with minimal boilerplate
  • ▸Event-driven programming support
  • ▸Built-in animation and drawing functions
  • ▸Interactive console for immediate feedback
  • ▸Modular script support for reusability

Origin & Creator

CatScript was developed by indie developers and educators seeking a playful scripting language to teach programming concepts to beginners and hobbyists.

Industrial Note

While not industrial-grade, CatScript is popular in educational tools, coding workshops, and creative coding communities where ease-of-use and rapid experimentation are more important than performance or safety-critical guarantees.

Quick Explain

  • ▸CatScript is beginner-friendly and designed to be easy to read and write.
  • ▸Supports variables, functions, loops, and events.
  • ▸Optimized for animations, simple games, and interactive applications.
  • ▸Runs in lightweight interpreters or browser environments.
  • ▸Encourages creative exploration and rapid prototyping.

Core Features

  • ▸Variables and basic data types
  • ▸Functions and parameters
  • ▸Loops and conditionals
  • ▸Event listeners (e.g., mouse, keyboard)
  • ▸Basic graphics primitives (draw, move, animate)

Learning Path

  • ▸Learn variables and basic syntax
  • ▸Practice loops and conditionals
  • ▸Explore functions and events
  • ▸Animate simple graphics
  • ▸Create small interactive projects

Practical Examples

  • ▸Animate a bouncing ball
  • ▸Interactive drawing canvas
  • ▸Simple keyboard-controlled game
  • ▸Visualizing math functions
  • ▸Build a choose-your-own-adventure story

Comparisons

  • ▸CatScript vs Python: CatScript simpler, more playful, browser-friendly
  • ▸CatScript vs Scratch: CatScript textual vs Scratch block-based
  • ▸CatScript vs JavaScript: CatScript beginner-focused, lightweight
  • ▸CatScript vs Lua: Lua general-purpose; CatScript educational
  • ▸CatScript vs Processing: Processing more powerful graphics; CatScript simpler

Strengths

  • ▸Extremely beginner-friendly
  • ▸Immediate visual feedback
  • ▸Encourages creative experimentation
  • ▸Lightweight and easy to set up
  • ▸Cross-platform via browser or small runtime

Limitations

  • ▸Not suitable for large-scale or performance-critical apps
  • ▸Limited standard libraries
  • ▸Single-threaded, no concurrency support
  • ▸Interpreted; slower than compiled languages
  • ▸Minimal debugging tools

When NOT to Use

  • ▸High-performance or commercial-grade software
  • ▸Large-scale backend systems
  • ▸Multithreaded or parallel processing apps
  • ▸Security-critical applications
  • ▸Advanced data processing or AI

Cheat Sheet

  • ▸var x = 10; // variable
  • ▸function foo() { ... } // define function
  • ▸onClick(myFunction); // event listener
  • ▸loop(10) { ... } // repeat
  • ▸import 'moduleName'; // load module

FAQ

  • ▸Is CatScript typed? -> No, dynamically typed
  • ▸Can I use it in a browser? -> Yes, fully supported
  • ▸Is CatScript open-source? -> Yes, many community repos
  • ▸Can CatScript handle graphics? -> Yes, basic 2D animation
  • ▸Is it suitable for kids? -> Yes, designed for beginners

30-Day Skill Plan

  • ▸Week 1: Variables, print statements
  • ▸Week 2: Loops and conditionals
  • ▸Week 3: Functions and modular scripts
  • ▸Week 4: Event handling and interactivity
  • ▸Week 5: Mini-projects and animation

Final Summary

  • ▸CatScript is a beginner-friendly scripting language for creative coding.
  • ▸Supports animations, games, and interactive stories.
  • ▸Runs in lightweight interpreters or browsers.
  • ▸Emphasizes fun, learning, and experimentation.
  • ▸Ideal for classrooms, workshops, and personal projects.

Project Structure

  • ▸main.catscript - entry script
  • ▸modules/ - reusable function libraries
  • ▸assets/ - images, sounds, animations
  • ▸examples/ - sample scripts
  • ▸README.md - documentation

Monetization

  • ▸Educational platform integration
  • ▸Interactive learning apps
  • ▸Coding workshop resources
  • ▸Creative coding tutorials
  • ▸Browser-based game demos

Productivity Tips

  • ▸Reuse modules for common logic
  • ▸Test code frequently
  • ▸Use loops and functions wisely
  • ▸Keep scripts short and readable
  • ▸Leverage visual feedback for debugging

Basic Concepts

  • ▸Variables - store data
  • ▸Functions - reusable code blocks
  • ▸Events - respond to user input or timers
  • ▸Loops - repeat tasks
  • ▸Drawing - create visual output

Official Docs

  • ▸https://catscript.dev/docs
  • ▸https://github.com/catscript-lang/catscript

More Catscript Typing Exercises

CATScript Loop to Create Multiple LinesCreate a Circle in CATScriptCreate a Rectangle in CATScriptCreate Multiple Circles in LoopTranslate a Part in CATScriptRotate a Part in CATScriptCreate a Point ArrayCreate a Line Between Two PointsCreate 3D Points Along Z-Axis

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher