Is that there a preposition in the sentence I don't know but it's hanging by it's feet

Yes, "by" is a preposition. The prepositional phrase is "by its feet."