Please turn JavaScript on to use this site.
Worlds
Minds
Users
Uploads
JS code
Search
Worlds
Minds
Users
Uploads
JS code
Intro
Introduction
Features
Definitions
Principles
The AI model
Teaching
Register a class
Learn
Getting started
P5 tutorial
Three.js tutorial
Coding course
Coding course II
Coding for kids
WebGL course
AI exercises
Browse
Starter Worlds
Editor's Choice
Showcase Worlds
Multi-user Worlds
Random Worlds
Advanced search
Docs
Docs
API docs
Register
Register
Forgot password
Login
Drag the background!
Step 11. Object Communication Part 1
Click image to run. One object moves randomly. The other object follows the mouse. An object can be given a function intersects(), with another object as the argument. Each time step, an object can check if the other object intersects it.
Video
From:
Tutorial 7.6: Object Communication Part 1
World
Tutorial 7.6
Object Communication Part 1
Clone and Edit
Previous
Next: Step 12 of 13
The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
Hide background
Hide content