# How to make an object point to an object

#1

Pointing an object is not simple but if you copy corectly you can do it

Make two objects and make sure the object pointing is faceing right

I hope it worked

Check out my games on @blackbutter

Castle defence is a awsome game so check it out

#2

Woah that's really cool!

## Welcome to the forum! Tag me any time like "@Mini!"

Lets be friends!
That's super cool!!

Also, just to let you know on your first day you get 10 replies. Meaning you can only reply to ten topics or posts!

#3

This is a great topic! :D

#4

Hello @Blackbutter! Welcome to the forum! I hope you have an awesome time on the Forum.

I really like this tutorial! I'm bookmaking this to look at later and I may use this for an upcoming project.

#5

Hi @Blackbutter. Nice tutorial.

The recent updates of Hopscotch have given us some new math blocks to make the code simpler.

Instead of sqrt((●x pos - →x pos)^2), you can use Absolute Value(●x pos - →x pos)

However whole Set Speed equation can now be simplified to:
Inverse Tangent((●y pos - →y pos)/(●x pos - →x pos))

Cheers

#6

Does anyone want to try a challenge?

Challenge: Make "point towards code" with only 1 set angle block & no if blocks.

Think it's not possible? I promise that it is

#7

Did you find this on your own?

#8

Cool!
Belated welcome to the forum! Tag me anytime!!

#9

Does that use trigonometry by any chance?