Skip to main content
What are Properties?

Properties in coding are like the characteristics or traits that describe something, such as the color or size.

Jon Mattingly avatar
Written by Jon Mattingly
Updated over a week ago

What are Properties?

Properties let you modify individual objects, making them unique without impacting others in your program. They allow changes to one object to have an isolated effect, independent of the rest. Properties define what makes each object distinct.

Properties in Kodable Basics

Students can design their own Fuzz and use code to modify its properties, bringing the character to life! Using JavaScript, they’ll customize their Fuzz and then play coding games with their newly created character.

In the example below, you’ll see the properties modified on the left appear on the customized Fuzz on the right!

Properties in Kodable Creator

Students can modify the properties of any object in their game. This flexibility encourages creativity and provides endless possibilities as they learn to design and code their own video game.​

In the example below, you can see that the student has the ability to fully customize the size, speed, and color of the Bird.

Properties in Bug World

In the Bug World app, each BlueBlaster has default properties like strength and speed. Learners can modify these properties for individual objects. For example, adjusting the strength property increases damage or changes speed. Changing a property for one BlueBlaster only affects that object and doesn’t impact others in the class.

Real-Life Example

All cars in the Car class share common properties like steering wheels, brakes, and color, but each car can have different values for these properties. Properties define features of a class and can be modified for individual objects without changing the main class. For example, if your car is black, you can paint it red. It’s still part of the Car class, but you’ve changed its color property, making it unique.

 

Did this answer your question?